AudioVolumeInfo class

The volume information of users.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AudioVolumeInfo(int uid, int volume, int vad, String channelId)
Constructs the AudioVolumeInfo.

Properties

channelId String
The name of the channel that the user is in.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid int
The user ID. In the local user's callback, uid = 0. In the remote users' callback, uid is the user ID of a remote user whose instantaneous volume is one of the three highest.
getter/setter pair
vad int
The voice activity status of the local user. 0: The local user is not speaking. 1: The local user is speaking. The vad parameter does not report the voice activity status of remote users. In the remote users' callback, the value of vad is always 0. To use this parameter, you must set true when calling enableAudioVolumeIndication . To use this parameter, you must set reportVad to true when calling enableAudioVolumeIndication .
getter/setter pair
volume int
The volume of the user. The value ranges between 0 (lowest volume) and 255 (highest volume). If the user calls startAudioMixing , the value of volume is the volume after audio mixing.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited