setDescriptionWhileRecording method
Sets the active camera while recording.
On Android, you must start the recording with startVideoCapturing
with enablePersistentRecording
set to true
to avoid cancelling any active recording.
Implementation
@override
Future<void> setDescriptionWhileRecording(
CameraDescription description) async {
await _channel.invokeMethod<double>(
'setDescriptionWhileRecording',
<String, dynamic>{
'cameraName': description.name,
},
);
}