getAutoPlay

Gets the auto-play setting of the media player.

public boolean getAutoPlay() throws RteException
Since
Available since v4.4.0.

Timing

This method must be called after calling getConfigs.

Exceptions

If getting the auto-play setting fails, the SDK throws an exception and returns the corresponding error message. You need to catch and handle the exception.

Return Values

  • true: Success.
  • false: Failure.