switchCamera method

  1. @override
Future<int?> switchCamera(
  1. bool frontCamera
)
override

Implementation

@override
Future<int?> switchCamera(bool frontCamera) async {
  LiveKitLogger.info("$tag($hashCode) switchCamera:[frontCamera:$frontCamera]");
  return await deviceManager?.switchCamera(frontCamera);
}