AudioVolumeInfo class
User volume information.
- Annotations
-
- @JsonSerializable.new(explicitToJson: true, includeIfNull: false)
Properties
- 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?
-
User ID.
In the local user's callback, uid is 0.
In the remote user's callback, uid is the ID of the remote user with the highest instantaneous volume (up to 3 users).
final
- vad → int?
-
vad does not report the voice status of remote users. For remote users, the value of vad is always 1.
To use this parameter, set reportVad to true when calling enableAudioVolumeIndication. Voice activity status of the local user.
0: No voice detected locally.
1: Voice detected locally.
final
- voicePitch → double?
-
Voice pitch of the local user (Hz). Value range:
0.0, 4000.0. voicePitch does not report the voice pitch of remote users. For remote users, the value of voicePitch is always 0.0.final - volume → int?
-
User volume, range
0,255. If the user mutes themselves (sets muteLocalAudioStream to true) but audio capture is enabled, the volume value represents the volume of the locally captured signal.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited