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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setProgress(int channels, long timeMillis, double percent)
    Notify progress during playback in viewer mode.
    void
    setStatus(int status)
    Notify playback status.
  • Field Details

  • 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 - milliseconds
      percent - percentage progress
    • setStatus

      void setStatus(int status)
      Notify playback status. Valid values are PLAY_START and PLAY_END
      Parameters:
      status - playback status