UserAudioSpectrumInfo

Audio spectrum information of the remote user.

class UserAudioSpectrumInfo {
  const UserAudioSpectrumInfo({this.uid, this.spectrumData});

  @JsonKey(name: 'uid')
  final int? uid;
  @JsonKey(name: 'spectrumData')
  final AudioSpectrumData? spectrumData;
  factory UserAudioSpectrumInfo.fromJson(Map<String, dynamic> json) =>
      _$UserAudioSpectrumInfoFromJson(json);
  Map<String, dynamic> toJson() => _$UserAudioSpectrumInfoToJson(this);
}

Attributes

uid
The user ID of the remote user.
spectrumData

Audio spectrum information of the remote user. See AudioSpectrumData.