Upravit

Sdílet prostřednictvím


MPMediaLibraryAuthorizationStatus Enum

Definition

Enumerates the status of the application's permission to access the media library.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum MPMediaLibraryAuthorizationStatus
type MPMediaLibraryAuthorizationStatus = 
Inheritance
MPMediaLibraryAuthorizationStatus
Attributes

Fields

Authorized 3

The user has granted permission.

Denied 1

The user has denied permission.

NotDetermined 0

The user has not interacted with the permissions dialog.

Restricted 2

Access is denied and the user may not change permission.

Applies to