isScreenSharingOut method

  1. @override
Future<bool> isScreenSharingOut()

Determine whether the current user is sharing the screen.
Return true indicates the current user is sharing the screen, otherwise false.

Implementation

@override
Future<bool> isScreenSharingOut() async {
  return await methodChannel
      .invokeMethod<bool>('isScreenSharingOut')
      .then<bool>((bool? value) => value ?? false);
}