java.lang.Object
com.smartdevicelink.proxy.RPCStruct
public static final java.lang.String KEY_MEDIA_TYPE
public static final java.lang.String KEY_MEDIA_TITLE
public static final java.lang.String KEY_MEDIA_ARTIST
public static final java.lang.String KEY_MEDIA_ALBUM
public static final java.lang.String KEY_MEDIA_IMAGE
public static final java.lang.String KEY_PLAYLIST_NAME
public static final java.lang.String KEY_IS_EXPLICIT
public static final java.lang.String KEY_TRACK_PLAYBACK_PROGRESS
public static final java.lang.String KEY_TRACK_PLAYBACK_DURATION
public static final java.lang.String KEY_QUEUE_PLAYBACK_PROGRESS
public static final java.lang.String KEY_QUEUE_PLAYBACK_DURATION
public static final java.lang.String KEY_QUEUE_CURRENT_TRACK_NUMBER
public static final java.lang.String KEY_QUEUE_TOTAL_TRACK_COUNT
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
public MediaServiceData()
public MediaServiceData(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
public com.smartdevicelink.proxy.rpc.MediaServiceData setMediaType(MediaType mediaType)
public com.smartdevicelink.proxy.rpc.enums.MediaType getMediaType()
Music: The name of the current track Podcast: The name of the current episode Audiobook: The name of the current chapter
public com.smartdevicelink.proxy.rpc.MediaServiceData setMediaTitle(String mediaTitle)
Music: The name of the current track Podcast: The name of the current episode Audiobook: The name of the current chapter
public java.lang.String getMediaTitle()
Music: The name of the current album artist Podcast: The provider of the podcast (hosts, network, company) Audiobook: The book author's name
public com.smartdevicelink.proxy.rpc.MediaServiceData setMediaArtist(String mediaArtist)
Music: The name of the current album artist Podcast: The provider of the podcast (hosts, network, company) Audiobook: The book author's name
public java.lang.String getMediaArtist()
Music: The name of the current album Podcast: The name of the current podcast show Audiobook: The name of the current book
public com.smartdevicelink.proxy.rpc.MediaServiceData setMediaAlbum(String mediaAlbum)
Music: The name of the current album Podcast: The name of the current podcast show Audiobook: The name of the current book
public java.lang.String getMediaAlbum()
Sets the media image associated with the currently playing media Music: The album art of the current track Podcast: The podcast or chapter artwork of the current podcast episode Audiobook: The book or chapter artwork of the current audiobook
public com.smartdevicelink.proxy.rpc.MediaServiceData setMediaImage(Image mediaImage)
Returns the media image associated with the currently playing media Music: The album art of the current track Podcast: The podcast or chapter artwork of the current podcast episode Audiobook: The book or chapter artwork of the current audiobook
public com.smartdevicelink.proxy.rpc.Image getMediaImage()
Music: The name of the playlist or radio station, if the user is playing from a playlist, otherwise, Null Podcast: The name of the playlist, if the user is playing from a playlist, otherwise, Null Audiobook: Likely not applicable, possibly a collection or "playlist" of books
public com.smartdevicelink.proxy.rpc.MediaServiceData setPlaylistName(String playlistName)
Music: The name of the playlist or radio station, if the user is playing from a playlist, otherwise, Null Podcast: The name of the playlist, if the user is playing from a playlist, otherwise, Null Audiobook: Likely not applicable, possibly a collection or "playlist" of books
public java.lang.String getPlaylistName()
public com.smartdevicelink.proxy.rpc.MediaServiceData setIsExplicit(Boolean isExplicit)
public java.lang.Boolean getIsExplicit()
Music: The current progress of the track in seconds Podcast: The current progress of the episode in seconds Audiobook: The current progress of the current segment (e.g. the chapter) in seconds
public com.smartdevicelink.proxy.rpc.MediaServiceData setTrackPlaybackProgress(Integer trackPlaybackProgress)
Music: The current progress of the track in seconds Podcast: The current progress of the episode in seconds Audiobook: The current progress of the current segment (e.g. the chapter) in seconds
public java.lang.Integer getTrackPlaybackProgress()
Music: The total duration of the track in seconds Podcast: The total duration of the episode in seconds Audiobook: The total duration of the current segment (e.g. the chapter) in seconds
public com.smartdevicelink.proxy.rpc.MediaServiceData setTrackPlaybackDuration(Integer trackPlaybackDuration)
Music: The total duration of the track in seconds Podcast: The total duration of the episode in seconds Audiobook: The total duration of the current segment (e.g. the chapter) in seconds
public java.lang.Integer getTrackPlaybackDuration()
Music: The current progress of the playback queue in seconds Podcast: The current progress of the playback queue in seconds Audiobook: The current progress of the playback queue (e.g. the book) in seconds
public com.smartdevicelink.proxy.rpc.MediaServiceData setQueuePlaybackProgress(Integer queuePlaybackProgress)
Music: The current progress of the playback queue in seconds Podcast: The current progress of the playback queue in seconds Audiobook: The current progress of the playback queue (e.g. the book) in seconds
public java.lang.Integer getQueuePlaybackProgress()
Music: The total duration of the playback queue in seconds Podcast: The total duration of the playback queue in seconds Audiobook: The total duration of the playback queue (e.g. the book) in seconds
public com.smartdevicelink.proxy.rpc.MediaServiceData setQueuePlaybackDuration(Integer queuePlaybackDuration)
Music: The total duration of the playback queue in seconds Podcast: The total duration of the playback queue in seconds Audiobook: The total duration of the playback queue (e.g. the book) in seconds
public java.lang.Integer getQueuePlaybackDuration()
Music: The current number (1 based) of the track in the playback queue Podcast: The current number (1 based) of the episode in the playback queue Audiobook: The current number (1 based) of the episode in the playback queue (e.g. the chapter number in the book)
public com.smartdevicelink.proxy.rpc.MediaServiceData setQueueCurrentTrackNumber(Integer queueCurrentTrackNumber)
Music: The current number (1 based) of the track in the playback queue Podcast: The current number (1 based) of the episode in the playback queue Audiobook: The current number (1 based) of the episode in the playback queue (e.g. the chapter number in the book)
public java.lang.Integer getQueueCurrentTrackNumber()
Music: The total number of tracks in the playback queue Podcast: The total number of episodes in the playback queue Audiobook: The total number of sections in the playback queue (e.g. the number of chapters in the book)
public com.smartdevicelink.proxy.rpc.MediaServiceData setQueueTotalTrackCount(Integer queueTotalTrackCount)
Music: The total number of tracks in the playback queue Podcast: The total number of episodes in the playback queue Audiobook: The total number of sections in the playback queue (e.g. the number of chapters in the book)
public java.lang.Integer getQueueTotalTrackCount()
From Class | Methods |
---|---|
com.smartdevicelink.proxy.RPCStruct | getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |