Page tree
Skip to end of metadata
Go to start of metadata

ON THIS PAGE


The roAudioPlayerMx object can generate roAudioEventMx messages with the following values:

  • 8 EVENT_MEDIAENDED
  • 14 EVENT_OVERLAY_MEDIAENDED
  • 16 EVENT_MEDIAERROR
  • 17 EVENT_OVERLAY_MEDIAERROR

"Media ended" events are sent when a track finishes and there are no more queued tracks for the player, while "Media error" events are sent when a queued file is not found (e.g. when it does not exist). 

ifInt

GetInt() As Integer

Returns the event ID. 

SetInt(value As Integer) As Void

Sets the value of the event. 

ifAudioUserData

SetUserData(user_data As String)

Sets the user data.

GetUserData() As String

Returns the user data that has previously been set via SetUserData() (either on the source or event object). It will return Invalid if no data has been set.

ifSourceIdentity

GetSourceIdentity() As Integer
 
SetSourceIdentity() As Integer

 

Note

The ifSourceIdentity interface has been deprecated. We recommend using the ifAudioUserData interface instead.

  • No labels