AVCaptureDevice.GetAuthorizationStatus Méthode

Définition

Surcharges

GetAuthorizationStatus(AVAuthorizationMediaType)
GetAuthorizationStatus(NSString)

Indique si l’application est autorisée à capturer le avMediaTypeToken.

GetAuthorizationStatus(AVAuthorizationMediaType)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static AVFoundation.AVAuthorizationStatus GetAuthorizationStatus (AVFoundation.AVAuthorizationMediaType mediaType);
static member GetAuthorizationStatus : AVFoundation.AVAuthorizationMediaType -> AVFoundation.AVAuthorizationStatus

Paramètres

Retours

Attributs

S’applique à

GetAuthorizationStatus(NSString)

Indique si l’application est autorisée à capturer le avMediaTypeToken.

[Foundation.Export("authorizationStatusForMediaType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static AVFoundation.AVAuthorizationStatus GetAuthorizationStatus (Foundation.NSString avMediaTypeToken);
static member GetAuthorizationStatus : Foundation.NSString -> AVFoundation.AVAuthorizationStatus

Paramètres

avMediaTypeToken
NSString

Doit être l’une des constantes définies dans AVMediaType.

Retours

Attributs

S’applique à