getAudioLevel method
Returns the audio level description based on the numeric value.
Implementation
String getAudioLevel() {
switch (this) {
case 1:
return AudioLevel.audioTooLow;
case 2:
return AudioLevel.audioLow;
case 3:
return AudioLevel.audioMedium;
case 4:
return AudioLevel.audioHigh;
case 5:
return AudioLevel.audioPeak;
default:
return AudioLevel.audioTooLow;
}
}