isSpeakerphoneEnabled abstract method
Checks whether the speakerphone is enabled.
This method is for Android and iOS only. 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
Future<bool> isSpeakerphoneEnabled();