shareScreenWithImageTransfer method

Future<Either<ScreenMeetError, bool>> shareScreenWithImageTransfer()

Share your screen by continuously providing screenshots of the previewContainerKey renderer

Implementation

Future<Either<ScreenMeetError, bool>> shareScreenWithImageTransfer() async {
  final Map result = await _channel.invokeMethod(_pm.kShareScreenWithImageTransferCommand);
  if (_pm.isSuccess(result)) {
    startCapturingImages();
    return Right(true);
  }
  return Left(_pm.error(result));
}