Condividi tramite


AVCaptureDevice.GetAuthorizationStatus Metodo

Definizione

Overload

GetAuthorizationStatus(AVAuthorizationMediaType)
GetAuthorizationStatus(NSString)

Indica se l'app è autorizzata a acquisire .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

Parametri

Restituisce

Attributi

Si applica a

GetAuthorizationStatus(NSString)

Indica se l'app è autorizzata a acquisire .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

Parametri

avMediaTypeToken
NSString

Deve essere una delle costanti definite in AVMediaType.

Restituisce

Attributi

Si applica a