AVCaptureDevice.GetAuthorizationStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAuthorizationStatus(AVAuthorizationMediaType) | |
GetAuthorizationStatus(NSString) |
Whether the app is permitted to capture the |
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
Parameters
- mediaType
- AVAuthorizationMediaType
Returns
- Attributes
Applies to
GetAuthorizationStatus(NSString)
Whether the app is permitted to capture the 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
Parameters
- avMediaTypeToken
- NSString
Should be one of the constants defined in AVMediaType.
Returns
- Attributes