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>
Turn the microphone on or off.
enableSpatializer(bool enable) → Future<void>
Turn the 3D spatial sound on or off.
enableSpeaker(bool enable) → Future<void>
Turn the speaker on or off.
muteUser(String userID, bool mute) → Future<void>
Whether can receive the audio data of the specified user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAudioReceiveRange(ZegoReceiveRangeParam param) → Future<int>
Set the configuration of the audio receiving range.
setPositionUpdateFrequency(int frequency) → Future<void>
Set the frequency of real-time update locations within the SDK.
setRangeAudioCustomMode(ZegoRangeAudioSpeakMode speakMode, ZegoRangeAudioListenMode listenMode) → Future<void>
Set range audio custom mode.
setRangeAudioMode(ZegoRangeAudioMode mode) → Future<void>
Set range audio mode.
setRangeAudioVolume(int volume) → Future<void>
Set range voice volume.
setStreamVocalRange(String streamID, ZegoVocalRangeParam param) → Future<int>
Set the sound range for the stream.
setTeamID(String teamID) → Future<void>
Set team ID.
toString() → String
A string representation of this object.
inherited
updateAudioSource(String userID, Float32List position) → Future<void>
Add or update audio source position information.
updateSelfPosition(Float32List position, Float32List axisForward, Float32List axisRight, Float32List axisUp) → Future<void>
Update self position and orentation.
updateStreamPosition(String streamID, Float32List position) → Future<void>
Update the location of the flow.

Operators

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