launchCallingPage method

void launchCallingPage()

Implementation

void launchCallingPage() {
  CallKitUILog.i(_tag, 'CallManager launchCallWidget()');
  final launchContext = _buildCallingPageLaunchContext();
  if (!_shouldContinueDesktopSingleCallUiFlow(
    reason: 'launch_calling_page',
    launchContext: launchContext,
  )) {
    return;
  }
  _checkLocalSelfUserInfo();
  CallManager.instance.initAudioPlayDeviceAndCamera();
  NEEventNotify().notify(setStateEventOnCallReceived, launchContext);
  _syncCallStateToNative();
  CallState.instance.isOpenFloatWindow = false;
}