LocalSpatialAudioEngine class abstract

This class calculates user coordinates through the SDK to implement spatial audio.

This class inherits from BaseSpatialAudioEngine. Before calling other APIs under this class, you need to call the initialize method to initialize it.

Constructors

LocalSpatialAudioEngine()

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

clearRemotePositions() → Future<void>
Deletes the spatial position information of all remote users.
initialize() → Future<void>
Initializes the LocalSpatialAudioEngine.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRemotePosition(int uid) → Future<void>
Deletes the spatial position information of the specified remote user.
setRemoteAudioAttenuation({required int uid, required double attenuation, required bool forceSet}) → Future<void>
Sets the sound attenuation effect for a specified user.
toString() → String
A string representation of this object.
inherited
updateRemotePosition({required int uid, required RemoteVoicePositionInfo posInfo}) → Future<void>
Updates the spatial position information of a remote user.

Operators

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