Agora Java API Reference for Android

Public Member Functions | Static Public Member Functions | List of all members
io.agora.spatialaudio.ILocalSpatialAudioEngine Class Referenceabstract
Inheritance diagram for io.agora.spatialaudio.ILocalSpatialAudioEngine:

## Public Member Functions
abstract int | initialize (LocalSpatialAudioConfig config)
abstract int | updateRemotePosition (int uid, RemoteVoicePositionInfo posInfo)
abstract int | updateRemotePositionEx (int uid, RemoteVoicePositionInfo posInfo, RtcConnection connection)
abstract int | removeRemotePosition (int uid)
abstract int | removeRemotePositionEx (int uid, RtcConnection connection)
abstract int | clearRemotePositionsEx (RtcConnection connection)
abstract int | setRemoteAudioAttenuation (int uid, double attenuation, boolean forceSet)
Public Member Functions inherited from io.agora.spatialaudio.IBaseSpatialAudioEngine
abstract int | setMaxAudioRecvCount (int maxCount)
abstract int | setAudioRecvRange (float range)
abstract int | setDistanceUnit (float unit)
abstract int | updateSelfPosition (float[] position, float[] axisForward, float[] axisRight, float[] axisUp)
abstract int | updatePlayerPositionInfo (int playerId, RemoteVoicePositionInfo positionInfo)
abstract int | muteLocalAudioStream (boolean mute)
abstract int | muteAllRemoteAudioStreams (boolean mute)
abstract int | setZones (SpatialAudioZone[] zones)
abstract int | setPlayerAttenuation (int playerId, double attenuation, boolean forceSet)
abstract int | muteRemoteAudioStream (int uid, boolean mute)
abstract int | updateSelfPositionEx (float[] position, float[] axisForward, float[] axisRight, float[] axisUp, RtcConnection connection)
abstract int | clearRemotePositions ()

## Static Public Member Functions
static synchronized ILocalSpatialAudioEngine | create ()
static synchronized void | destroy ()

## Additional Inherited Members
Protected Member Functions inherited from io.agora.spatialaudio.IBaseSpatialAudioEngine
abstract int | release ()