| void playbackStateChanged |
( |
int |
slotIndex, |
|
|
int |
playbackState, |
|
|
boolean |
isQueued |
|
) |
| |
Registers an observer that reports the playback state of clips / slots. The reported states include stopped, playing, recording, but also queued for stop, queued for playback, queued for recording.
- Parameters
-
| callback | a callback function that receives three parameters: 1. the slot index (integer), 2. the queued or playback state: 0 when stopped, 1 when playing, or 2 when recording, and 3. a boolean parameter indicating if the second argument is referring to the queued state (true) or the actual playback state (false) |
- Since
- API version 1
The documentation for this interface was generated from the following file: