selectCamera method

Future<void> selectCamera(
  1. VICameraType cameraType
)

Selects camera.

cameraType - Back or front camera

Implementation

Future<void> selectCamera(VICameraType cameraType) async {
  await _channel.invokeMethod('Camera.selectCamera',
      <String, dynamic>{'cameraType': cameraType.index});
}