ZegoRangeAudio class abstract

Constructors

ZegoRangeAudio()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enableMicrophone(bool enable) Future<void>
开启或关闭麦克风。
enableSpatializer(bool enable) Future<void>
开启或关闭 3D 音效。
enableSpeaker(bool enable) Future<void>
开启或关闭扬声器。
muteUser(String userID, bool mute) Future<void>
是否可接收指定用户音频数据。
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAudioReceiveRange(ZegoReceiveRangeParam param) Future<int>
设置音频接收范围的配置。
setPositionUpdateFrequency(int frequency) Future<void>
设置SDK内部实时更新位置的频率
setRangeAudioCustomMode(ZegoRangeAudioSpeakMode speakMode, ZegoRangeAudioListenMode listenMode) Future<void>
设置范围语音的高阶自定义模式。
setRangeAudioMode(ZegoRangeAudioMode mode) Future<void>
设置范围语音模式。
setRangeAudioVolume(int volume) Future<void>
设置范围语音音量
setStreamVocalRange(String streamID, ZegoVocalRangeParam param) Future<int>
设置流的发声范围
setTeamID(String teamID) Future<void>
设置队伍 ID
toString() String
A string representation of this object.
inherited
updateAudioSource(String userID, Float32List position) Future<void>
添加或更新音源位置信息。
updateSelfPosition(Float32List position, Float32List axisForward, Float32List axisRight, Float32List axisUp) Future<void>
更新自身的位置和朝向。
updateStreamPosition(String streamID, Float32List position) Future<void>
更新流的位置

Operators

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