GetPosition

Gets the current playback position.

uint64_t GetPosition(Error *err = nullptr)
Since
Available since v4.5.1.

Parameters

err
Output parameter, status or error information. See Error.
  • kRteOk: Call succeeds.
  • kRteErrorInvalidOperation:
    • The corresponding internal Player object has been destroyed or is invalid.
    • The opened URL is an RTE URL, GetPosition is not supported.

Return Values

If the method call succeeds, returns the current playback position in milliseconds.