EKEventStore.RequestAccess 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.
Shows, if necessary, the standard permissions dialog for the specified entityType
.
[Foundation.Export("requestAccessToEntityType:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RequestAccess (EventKit.EKEntityType entityType, Action<bool,Foundation.NSError> completionHandler);
abstract member RequestAccess : EventKit.EKEntityType * Action<bool, Foundation.NSError> -> unit
override this.RequestAccess : EventKit.EKEntityType * Action<bool, Foundation.NSError> -> unit
Parameters
- entityType
- EKEntityType
The EKEntityType for which access is being requested.
Callback executed after the user has interacted with the permissions dialog.
- Attributes
Applies to
See also
- <xref:MonoTough.EventKit.EKEventStore.GetAuthorizationStatus>