Package org.deepsymmetry.beatlink.data
Class PlaybackState
- java.lang.Object
-
- org.deepsymmetry.beatlink.data.PlaybackState
-
public class PlaybackState extends Object
Captures the playback state of a single player that has the track loaded, as an immutable value class.
-
-
Constructor Summary
Constructors Constructor Description PlaybackState(int player, long position, boolean playing)
Create an instance to represent a particular playback state.
-
-
-
Constructor Detail
-
PlaybackState
public PlaybackState(int player, long position, boolean playing)
Create an instance to represent a particular playback state.- Parameters:
player
- the player number whose playback state this representsposition
- the current playback position in millisecondsplaying
- whether the player is actively playing the track
-
-