setDescriptionWhileRecording method

  1. @override
Future<void> setDescriptionWhileRecording(
  1. CameraDescription description
)

Sets the active camera while recording.

Implementation

@override
Future<void> setDescriptionWhileRecording(CameraDescription description) async {
  await _channel.invokeMethod<double>(
    'setDescriptionWhileRecording',
    <String, dynamic>{
      'cameraName': description.name,
    },
  );
}