getValueFromHMSAudioDevice static method
Implementation
static String getValueFromHMSAudioDevice(HMSAudioDevice hmsAudioDevice) {
switch (hmsAudioDevice) {
case HMSAudioDevice.SPEAKER_PHONE:
return "SPEAKER_PHONE";
case HMSAudioDevice.WIRED_HEADSET:
return "WIRED_HEADSET";
case HMSAudioDevice.EARPIECE:
return "EARPIECE";
case HMSAudioDevice.BLUETOOTH:
return "BLUETOOTH";
case HMSAudioDevice.AUTOMATIC:
return "AUTOMATIC";
case HMSAudioDevice.UNKNOWN:
return "UNKNOWN";
}
}