Share via


HKAttachmentStore.GetData(HKAttachment, Action<NSData,NSError>) Method

Definition

[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
completion
Action<NSData,NSError>

Returns

Attributes

Applies to