closeCamera method

Future<void> closeCamera()

Implementation

Future<void> closeCamera() async {
  CallKitUILog.i(_tag, 'CallManager closeCamera');
  NECallEngine.instance.enableLocalVideo(false);
  CallState.instance.isCameraOpen = false;
  CallState.instance.selfUser.videoAvailable = false;
  NECallKitPlatform.instance.updateCallStateToNative();
}