HKHealthStore.RequestAuthorizationToShare 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.
Requests autorization to save and read user data and runs an action after a determination has been made.
[Foundation.Export("requestAuthorizationToShareTypes:readTypes:completion:")]
public virtual void RequestAuthorizationToShare (Foundation.NSSet typesToShare, Foundation.NSSet typesToRead, Action<bool,Foundation.NSError> completion);
abstract member RequestAuthorizationToShare : Foundation.NSSet * Foundation.NSSet * Action<bool, Foundation.NSError> -> unit
override this.RequestAuthorizationToShare : Foundation.NSSet * Foundation.NSSet * Action<bool, Foundation.NSError> -> unit
Parameters
- typesToShare
- NSSet
- typesToRead
- NSSet
- Attributes