setAllowedCapturePolicy method
(UNTESTED) Requires API level 29
Implementation
Future<void> setAllowedCapturePolicy(
AndroidAudioCapturePolicy capturePolicy) async {
await _channel
.invokeMethod<bool>('setAllowedCapturePolicy', [capturePolicy.index]);
}