updatePosition abstract method

Future<int?> updatePosition(
  1. 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].

API call result:

  • 0: Success.
  • !0: Failure.

Notes:

Implementation

Future<int?> updatePosition(Position pos);