updateRemotePosition abstract method
Updates the spatial position of the specified remote user.
After successfully calling this method, the SDK calculates the spatial audio parameters based on the relative position of the local and remote user. Call this method after the or joinChannel method.
uid
The user ID. This parameter must be the same as the user ID passed in when the user joined the channel.posInfo
The spatial position of the remote user. See RemoteVoicePositionInfo.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> updateRemotePosition(
{required int uid, required RemoteVoicePositionInfo posInfo});