updatePosition abstract method
- @Deprecated('Deprecated since v3.54.1, use updateSelfPosition instead')
- Position pos
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]
.
Notes:
- Call RTCSpatialAudio.enableSpatialAudio to enable spatial audio function first before calling this API.
- See Spatial Audio for more spatial audio-related APIs and call order.
Implementation
@Deprecated('Deprecated since v3.54.1, use updateSelfPosition instead')
Future<int?> updatePosition(Position pos);