getAudioLevel method
- Participant participant
Returns the participant's audio level. Audio level values are in the range 0 to 1.
The participant
parameter refers to the participant whose audio level should be returned.
Implementation
Future<AudioLevel> getAudioLevel(Participant participant) async {
var result = await _methodChannel.invokeMethod<num>(
"getAudioLevel", participant.toJson());
return result as AudioLevel;
}