audioOutputText static method
Implementation
static String audioOutputText(String audioValue) {
switch (audioValue) {
case 'speaker':
return 'Speaker';
case 'earpiece':
return 'Earpiece';
case 'bluetooth':
return 'Bluetooth';
case 'wired-headset':
return 'Wired headset';
default:
return 'Earpiece';
}
}