requestCapturePermission static method
Request capture permission for Android
Implementation
static Future<bool> requestCapturePermission() async {
if (WebRTC.platformIsAndroid) {
return await WebRTC.invokeMethod('requestCapturePermission');
} else {
throw Exception('requestCapturePermission only support for Android');
}
}