Compartilhar via


AVCaptureDevice.GetAuthorizationStatus Método

Definição

Sobrecargas

GetAuthorizationStatus(AVAuthorizationMediaType)
GetAuthorizationStatus(NSString)

Se o aplicativo tem permissão para capturar o 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

Parâmetros

Retornos

Atributos

Aplica-se a

GetAuthorizationStatus(NSString)

Se o aplicativo tem permissão para capturar o 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

Parâmetros

avMediaTypeToken
NSString

Deve ser uma das constantes definidas em AVMediaType.

Retornos

Atributos

Aplica-se a