Share via


HKAttachmentStore.GetDataAsync Method

Definition

Overloads

GetDataAsync(HKAttachment)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> GetDataAsync(HealthKit.HKAttachment attachment);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetDataAsync : HealthKit.HKAttachment -> System.Threading.Tasks.Task<Foundation.NSData>
override this.GetDataAsync : HealthKit.HKAttachment -> System.Threading.Tasks.Task<Foundation.NSData>

Parameters

attachment
HKAttachment

Returns

Attributes

Applies to

GetDataAsync(HKAttachment, NSProgress)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> GetDataAsync(HealthKit.HKAttachment attachment, out Foundation.NSProgress result);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetDataAsync : HealthKit.HKAttachment * NSProgress -> System.Threading.Tasks.Task<Foundation.NSData>
override this.GetDataAsync : HealthKit.HKAttachment * NSProgress -> System.Threading.Tasks.Task<Foundation.NSData>

Parameters

attachment
HKAttachment
result
NSProgress

Returns

Attributes

Applies to