public class CurrentlyPlaying extends AbstractModelObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CurrentlyPlaying.Builder
Builder class for building
CurrentlyPlaying instances. |
static class |
CurrentlyPlaying.JsonUtil
JsonUtil class for building
CurrentlyPlaying instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method and Description |
|---|---|
CurrentlyPlaying.Builder |
builder()
Create a builder for building an instance of a model object.
|
Context |
getContext()
Get the context the track was played from.
|
Boolean |
getIs_playing()
Check if something is played at the moment.
|
Track |
getItem()
Get the currently played track.
|
Integer |
getProgress_ms()
Get the progress of the current played track.
|
Long |
getTimestamp()
Get the timestamp when the received data was fetched.
|
public Context getContext()
null.public Long getTimestamp()
public Integer getProgress_ms()
null.public Boolean getIs_playing()
public Track getItem()
null.public CurrentlyPlaying.Builder builder()
IModelObjectCopyright © 2020. All rights reserved.