startScreenShare method

Future<void> startScreenShare()

Starts sharing the foreground screen to the meeting.

Implementation

Future<void> startScreenShare() async {
  try {
    await _coordinator.hostApi.startScreenShare();
  } on PlatformException catch (e) {
    throw ChimeDeviceException('Failed to start screen share', e.message);
  }
}