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