getPosition

Gets the current playback position.

public long getPosition() throws RteException
Since
Available since v4.5.1.

Exceptions

When the method call fails, the SDK throws an RteException and returns the corresponding error information. You need to catch and handle the exception.

Return Values

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