Edit

Share via


EKEventStore.GetAuthorizationStatus(EKEntityType) Method

Definition

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>).

Applies to