isSpeakerphoneEnabled method Null safety

Future<bool?> isSpeakerphoneEnabled()

Checks whether the speakerphone is enabled.


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


  • 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.


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