Package soundPlayback
Interface PlaybackProgressMonitor
public interface PlaybackProgressMonitor
Receives notificaitons from the playback system detailing how
far playback has got in viewer mode.
- Author:
- Doug Gillespie
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setProgress
(int channels, long timeMillis, double percent) Notify progress during playback in viewer mode.void
setStatus
(int status) Notify playback status.
-
Field Details
-
PLAY_START
static final int PLAY_START- See Also:
-
PLAY_END
static final int PLAY_END- See Also:
-
-
Method Details
-
setProgress
void setProgress(int channels, long timeMillis, double percent) Notify progress during playback in viewer mode.The times are given in two ways. As an absolute time in milliseconds and as a percentage.
- Parameters:
timeMillis
- millisecondspercent
- percentage progress
-
setStatus
void setStatus(int status) Notify playback status. Valid values are PLAY_START and PLAY_END- Parameters:
status
- playback status
-