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.
|
Actions |
getActions()
Get which playback actions are available within the current context.
|
Context |
getContext()
Get the context the item was played from.
|
CurrentlyPlayingType |
getCurrentlyPlayingType()
Get the type of the currently playing item.
|
Boolean |
getIs_playing()
Check if something is played at the moment.
|
IPlaylistItem |
getItem()
Get the currently played track or episode.
|
Integer |
getProgress_ms()
Get the progress of the current played item.
|
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 IPlaylistItem getItem()
null.public CurrentlyPlayingType getCurrentlyPlayingType()
public Actions getActions()
public CurrentlyPlaying.Builder builder()
IModelObjectCopyright © 2020. All rights reserved.