Class PlaybackUpdate
java.lang.Object
lol.trq.orpheus.source.PlaybackUpdate
What a program tells a
PushSource about its own player. Immutable; each method returns a new value.-
Method Summary
Modifier and TypeMethodDescriptionEncoded image bytes (PNG, JPEG, BMP, GIF).A cover location for the caller to load; the library does not fetch it.static PlaybackUpdateof(Track track, PlaybackState state) static PlaybackUpdatestatic PlaybackUpdateThe position right now.The position as it was atnanoTime, aSystem.nanoTime()reading.rate(double newRate) shuffle(boolean on) static PlaybackUpdatestopped()volume(double newVolume)
-
Method Details
-
playing
-
paused
-
stopped
-
of
-
position
The position right now. -
position
The position as it was atnanoTime, aSystem.nanoTime()reading. -
rate
-
shuffle
-
repeat
-
volume
-
cover
Encoded image bytes (PNG, JPEG, BMP, GIF). Pass the sameCoverDataagain while the image is unchanged. -
coverUri
A cover location for the caller to load; the library does not fetch it.
-