Edytuj

Udostępnij za pośrednictwem


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

Name Value Description
NotDetermined 0

The user has not interacted with the permissions dialog.

Denied 1

The user has denied permission.

Restricted 2

Access is denied and the user may not change permission.

Authorized 3

The user has granted permission.

Applies to