HKHealthStore.RequestPerObjectReadAuthorizationAsync Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError?>> RequestPerObjectReadAuthorizationAsync(HealthKit.HKObjectType objectType, Foundation.NSPredicate? predicate);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RequestPerObjectReadAuthorizationAsync : HealthKit.HKObjectType * Foundation.NSPredicate -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.RequestPerObjectReadAuthorizationAsync : HealthKit.HKObjectType * Foundation.NSPredicate -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

objectType
HKObjectType
predicate
NSPredicate

Returns

Attributes

Applies to