編輯

共用方式為


AVAuthorizationStatus Enum

Definition

An enumeration whose values specify whether a AVCaptureDevice has been authorized by the user for use. Used with GetAuthorizationStatus(NSString).

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum AVAuthorizationStatus
type AVAuthorizationStatus = 
Inheritance
AVAuthorizationStatus
Attributes

Fields

Name Value Description
NotDetermined 0

The user has not interacted with the permissions dialog.

Restricted 1

The user is denied access and may not change permission.

Denied 2

The user has denied access.

Authorized 3

The user has granted access.

Applies to