Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The roAudioPlayer sends the roAudioPlayerEvent with the following predicates that indicate its valid event types:


isListItemSelected() as Boolean

A stream has been selected to start playing.

GetIndex() as Integer

Returns index of audio stream.


isStatusMessage() as Boolean

Status information is available.

GetMessage() as String

Returns one of the following strings:

"start of play"
Stream has started playing.
"startup progress"
Stream is preparing to play.
"end of stream"
A stream has finished playing. (deprecated)
"end of playlist"
A Content List has completed and stopped. (deprecated)
GetIndex() as Integer

When GetMessage() returns "startup progress", GetIndex() returns a value between 0 and 1000 indicating progress.


isRequestSucceeded() as Boolean

Stream playback has completed successfully.

GetIndex() as Integer

Returns index of audio stream.


isRequestFailed() as Boolean

Audio playback failed due to an error.

GetMessage() as String

Returns text description of error.

GetIndex() as Integer

Returns one of the following error IDs:

0Network error : server down or unresponsive, server is unreachable, network setup problem on the client.
-1HTTP error: malformed headers or HTTP error result.
-2Connection timed out
-3Unknown error


isFullResult() as Boolean

Audio playback completed at end of content.


isPartialResult() as Boolean

Audio playback was interrupted.


Since Firmware version 2.6:

isPaused() as Boolean

Audio playback was paused by the user.


isResumed() as Boolean

Audio playback has resumed.



  • No labels