Requests the application user's permission, if necessary, to capture the avMediaTypeToken.
Syntax
[Foundation.Export("requestAccessForMediaType:completionHandler:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public static
void RequestAccessForMediaType (
Foundation.NSString avMediaTypeToken, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDAVRequestAccessStatus))]
AVRequestAccessStatus completion)
Parameters
- avMediaTypeToken
- The type of media for which access is being requested. Should be a value defined in AVFoundation.AVMediaType.
- completion
- Completion handler called after the user interacts with the permissions dialog.
Remarks
Requirements
Namespace: AVFoundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0