HKAttachmentStore.GetData(HKAttachment, Action<NSData,NSError>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("getDataForAttachment:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSProgress GetData(HealthKit.HKAttachment attachment, Action<Foundation.NSData,Foundation.NSError> completion);
[<Foundation.Export("getDataForAttachment:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetData : HealthKit.HKAttachment * Action<Foundation.NSData, Foundation.NSError> -> Foundation.NSProgress
override this.GetData : HealthKit.HKAttachment * Action<Foundation.NSData, Foundation.NSError> -> Foundation.NSProgress
Parameters
- attachment
- HKAttachment
Returns
- Attributes