Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.spatialaudio.RemoteVoicePositionInfo Class Reference

The spatial position of the remote user or the media player. More...

Public Member Functions

float[] getPosition ()
 
float[] getForward ()
 

Public Attributes

float[] position
 
float[] forward
 

Detailed Description

The spatial position of the remote user or the media player.

Member Data Documentation

◆ position

float [] io.agora.spatialaudio.RemoteVoicePositionInfo.position

The coordinates in the world coordinate system. This parameter is an array of length 3, and the three values represent the front, right, and top coordinates in turn.

◆ forward

float [] io.agora.spatialaudio.RemoteVoicePositionInfo.forward

The unit vector of the x axis in the coordinate system. This parameter is an array of length 3, and the three values represent the front, right, and top coordinates in turn.