updatePosition abstract method
Updates the coordinate of the local user's position in the rectangular coordinate system in the current room.
pos
: 3D coordinate values, the default value is [0, 0, 0]
.
API call result:
- 0: Success.
- !0: Failure.
Notes:
- After calling this API, you should call RTCRangeAudio.enableRangeAudio to enable range audio function to actually enjoy the range audio effect.
Implementation
Future<int?> updatePosition(Position pos);