Edytuj

Udostępnij za pośrednictwem


ABAuthorizationStatus Enum

Definition

An enumeration whose values specify the possible results of the GetAuthorizationStatus() method.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'Contacts' API instead.")]
public enum ABAuthorizationStatus
type ABAuthorizationStatus = 
Inheritance
ABAuthorizationStatus
Attributes

Fields

Name Value Description
NotDetermined 0

The user has not made a decision regarding access.

Restricted 1

Access is denied and the user is not allowed to change permission.

Denied 2

The user has denied authorization to access address book data.

Authorized 3

The app is authorized to access address book data.

Applies to