public class PlaybackState extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
player
The player number whose playback state this represents.
|
boolean |
playing
Whether the player is actively playing the track.
|
long |
position
The current playback position of the player in milliseconds.
|
| Constructor and Description |
|---|
PlaybackState(int player,
long position,
boolean playing)
Create an instance to represent a particular playback state.
|
public final int player
public final long position
public final boolean playing
public PlaybackState(int player,
long position,
boolean playing)
player - the player number whose playback state this representsposition - the current playback position in millisecondsplaying - whether the player is actively playing the trackCopyright © 2016–2019 Deep Symmetry, LLC. All rights reserved.