currentDeviceIsSpeaker method
Implementation
bool currentDeviceIsSpeaker() {
final currentInput = CallManager().getCurrentAudioInput();
if (currentInput != null) {
if (AudioManager().checkDeviceIsSpeaker(device: currentInput)) {
return true;
}
}
return false;
}