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