AudioVolumeInfo class Null safety

声音音量信息。 一个数组,包含每个说话者的用户 ID 和音量信息。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AudioVolumeInfo(int uid, int volume, int vad, String channelId)
Constructs a AudioVolumeInfo
AudioVolumeInfo.fromJson(Map<String, dynamic> json)
factory

Properties

channelId String
频道 ID,表明当前说话者在哪个频道。
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uid int
说话者的用户 ID。如果返回的 uid 为 0,则默认为本地用户。
read / write
vad int
本地用户的人声状态。 [...]
read / write
volume int
说话者的音量,范围为 0(最低)- 255(最高)。
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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