Package soundPlayback
Class PlayDeviceState
java.lang.Object
soundPlayback.PlayDeviceState
Class to hold basic information about the state of a playback device.
- Author:
- dg50
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataDumpled
(long dataDumped) void
addDataPlayed
(long dataPlayed) long
long
boolean
void
reset()
void
setDataDumped
(long dataDumped) void
setDataPlayed
(long dataPlayed) void
setStarted
(boolean started) toString()
-
Constructor Details
-
PlayDeviceState
public PlayDeviceState()
-
-
Method Details
-
reset
public void reset() -
addDataPlayed
public void addDataPlayed(long dataPlayed) -
addDataDumpled
public void addDataDumpled(long dataDumped) -
toString
-
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
-