Léigh i mBéarla Cuir in eagar

Comhroinn trí


EKEventStore.GetAuthorizationStatus(EKEntityType) Method

Definition

The current access the application has for the specified entityType.

C#
[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);

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

Táirge Leaganacha
Xamarin.Mac SDK 14