|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface MusicPlayer.IStateCallback
A state callback is used by the player to notify the music player controller about state changes.
Method Summary | |
---|---|
void |
notifyFinished()
Notify the controller that the playing of the media has ended. |
void |
notifyProgress(long currentTimeMs,
long totalTimeMs)
Notify the controller that some amount of the media has been played. |
Method Detail |
---|
void notifyFinished()
void notifyProgress(long currentTimeMs, long totalTimeMs)
currentTimeMs
- the current amount of time which has been played in
millisecondstotalTimeMs
- the total length of the media in milliseconds, or
-1 if unknown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |