getNameFromHMSAudioMode static method
return name of enum
Implementation
static String getNameFromHMSAudioMode(HMSAudioMode mode) {
switch (mode) {
case HMSAudioMode.VOICE:
return "voice";
case HMSAudioMode.MUSIC:
return "music";
default:
return "voice";
}
}