isShareDeviceAudioEnabled method

  1. @override
Future<bool> isShareDeviceAudioEnabled()

Determine whether the audio of the sharing device is enabled.
Return true indicates that the audio is enabled, otherwise false.

Implementation

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