Enumeration

AVAuthorizationStatus

Constants that provide information regarding permission to use media capture devices.

Declaration

typedef enum AVAuthorizationStatus : NSInteger {
    ...
} AVAuthorizationStatus;

Topics

Constants

AVAuthorizationStatusNotDetermined

Explicit user permission is required for media capture, but the user has not yet granted or denied such permission.

AVAuthorizationStatusRestricted

The user is not allowed to access media capture devices.

AVAuthorizationStatusDenied

The user has explicitly denied permission for media capture.

AVAuthorizationStatusAuthorized

The user has explicitly granted permission for media capture, or explicit user permission is not necessary for the media type in question.

See Also

Verifying Authorization

+ requestAccessForMediaType:completionHandler:

Requests the user’s permission, if needed, for recording a specified media type.

+ authorizationStatusForMediaType:

Returns a constant indicating whether the app has permission for recording a specified media type.