Freigeben über


AVCaptureDevice.GetAuthorizationStatus Methode

Definition

Überlädt

GetAuthorizationStatus(AVAuthorizationMediaType)
GetAuthorizationStatus(NSString)

Gibt an, ob die App das erfassen avMediaTypeTokendarf.

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

Parameter

Gibt zurück

Attribute

Gilt für:

GetAuthorizationStatus(NSString)

Gibt an, ob die App das erfassen avMediaTypeTokendarf.

[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

Parameter

avMediaTypeToken
NSString

Sollte eine der in AVMediaTypedefinierten Konstanten sein.

Gibt zurück

Attribute

Gilt für: