EKEventStore.GetAuthorizationStatus(EKEntityType) 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.
The current access the application has for the specified entityType
.
[Foundation.Export("authorizationStatusForEntityType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public static EventKit.EKAuthorizationStatus GetAuthorizationStatus (EventKit.EKEntityType entityType);
static member GetAuthorizationStatus : EventKit.EKEntityType -> EventKit.EKAuthorizationStatus
Parameters
- entityType
- EKEntityType
The EKEntityType for which the authorization status is being queried.
Returns
The current access the application has for the specified entityType
.
- Attributes
Remarks
Access to the underlying Event Kit data is under user control. Applications must request access via RequestAccess(EKEntityType, Action<Boolean,NSError>).