HKHealthStore.RequestPerObjectReadAuthorizationAsync 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.
[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