android.media.JetPlayer.OnJetEventListener |
Handles the notification when the JET engine generates an event.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Callback for when the JET engine generates a new event.
| |||||||||||
Callback for when JET's number of queued segments is updated.
| |||||||||||
Callback for when JET pause state is updated.
| |||||||||||
Callback for when JET's currently playing segment's userID is updated.
|
Callback for when the JET engine generates a new event.
player | the JET player the event is coming from |
---|---|
segment | 8 bit unsigned value |
track | 6 bit unsigned value |
channel | 4 bit unsigned value |
controller | 7 bit unsigned value |
value | 7 bit unsigned value |
Callback for when JET's number of queued segments is updated.
player | the JET player the status update is coming from |
---|---|
nbSegments | the number of segments in the JET queue |
Callback for when JET pause state is updated.
player | the JET player the status update is coming from |
---|---|
paused | indicates whether JET is paused (1) or not (0) |
Callback for when JET's currently playing segment's userID is updated.
player | the JET player the status update is coming from |
---|---|
userId | the ID of the currently playing segment |
repeatCount | the repetition count for the segment (0 means it plays once) |