isSpeakerphoneEnabled method Null safety

Future<bool?> isSpeakerphoneEnabled()

Checks whether the speakerphone is enabled.

Note

You can call this method either before or after joining a channel.

Returns

  • true: The speakerphone is enabled, and the audio plays from the speakerphone.
  • false: The speakerphone is not enabled, and the audio plays from devices other than the speakerphone. For example, the headset or earpiece.

Implementation

@override
Future<bool?> isSpeakerphoneEnabled() {
  return _invokeMethod('isSpeakerphoneEnabled');
}