MPMediaLibraryAuthorizationStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |