Package soundPlayback

Class PlayDeviceState

java.lang.Object
soundPlayback.PlayDeviceState

public class PlayDeviceState extends Object
Class to hold basic information about the state of a playback device.
Author:
dg50
  • Constructor Details

    • PlayDeviceState

      public PlayDeviceState()
  • Method Details

    • reset

      public void reset()
    • addDataPlayed

      public void addDataPlayed(long dataPlayed)
    • addDataDumpled

      public void addDataDumpled(long dataDumped)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isStarted

      public boolean isStarted()
      Returns:
      the started
    • setStarted

      public void setStarted(boolean started)
      Parameters:
      started - the started to set
    • getDataPlayed

      public long getDataPlayed()
      Returns:
      the dataPlayed
    • setDataPlayed

      public void setDataPlayed(long dataPlayed)
      Parameters:
      dataPlayed - the dataPlayed to set
    • getDataDumped

      public long getDataDumped()
      Returns:
      the dataDumped
    • setDataDumped

      public void setDataDumped(long dataDumped)
      Parameters:
      dataDumped - the dataDumped to set