AVFoundation.AVAudioSession.RequestRecordPermission Method
Presents a standard UI to the app user, asking for permission to record.

Syntax

[Foundation.Export("requestRecordPermission:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public virtual void RequestRecordPermission ([ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDAVPermissionGranted))] AVPermissionGranted responseCallback)

Parameters

responseCallback
Documentation for this section has not yet been entered.

Remarks

This method will be called automatically the first time the application's AVAudioSession.Category is set to a category that includes recording. Or, the application developer can call this method explicitly to control the presentation.

Unlike most other privacy settings, there is not a corresponding method to check the status.

Requirements

Namespace: AVFoundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0