BooleanStringStringImageStringMediaTypeStringNumberNumberNumberNumberNumberNumberMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataMediaServiceDataBooleanGet the IsExplicit
Kind: Instance method of MediaServiceData
Returns: Boolean - the KEY_IS_EXPLICIT value
StringGet the MediaAlbum
Kind: Instance method of MediaServiceData
Returns: String - the KEY_MEDIA_ALBUM value
StringGet the MediaArtist
Kind: Instance method of MediaServiceData
Returns: String - the KEY_MEDIA_ARTIST value
ImageGet the MediaImage
Kind: Instance method of MediaServiceData
Returns: Image - the KEY_MEDIA_IMAGE value
StringGet the MediaTitle
Kind: Instance method of MediaServiceData
Returns: String - the KEY_MEDIA_TITLE value
MediaTypeGet the MediaType
Kind: Instance method of MediaServiceData
Returns: MediaType - the KEY_MEDIA_TYPE value
StringGet the PlaylistName
Kind: Instance method of MediaServiceData
Returns: String - the KEY_PLAYLIST_NAME value
NumberGet the QueueCurrentTrackNumber
Kind: Instance method of MediaServiceData
Returns: Number - the KEY_QUEUE_CURRENT_TRACK_NUMBER value
NumberGet the QueuePlaybackDuration
Kind: Instance method of MediaServiceData
Returns: Number - the KEY_QUEUE_PLAYBACK_DURATION value
NumberGet the QueuePlaybackProgress
Kind: Instance method of MediaServiceData
Returns: Number - the KEY_QUEUE_PLAYBACK_PROGRESS value
NumberGet the QueueTotalTrackCount
Kind: Instance method of MediaServiceData
Returns: Number - the KEY_QUEUE_TOTAL_TRACK_COUNT value
NumberGet the TrackPlaybackDuration
Kind: Instance method of MediaServiceData
Returns: Number - the KEY_TRACK_PLAYBACK_DURATION value
NumberGet the TrackPlaybackProgress
Kind: Instance method of MediaServiceData
Returns: Number - the KEY_TRACK_PLAYBACK_PROGRESS value
MediaServiceDataSet the IsExplicit
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| explicit | Boolean |
Whether or not the content currently playing (e.g. the track, episode, or book) contains explicit content - The desired IsExplicit. |
MediaServiceDataSet the MediaAlbum
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| album | String |
Music: The name of the current album Podcast: The name of the current podcast show Audiobook: The name of the current book - The desired MediaAlbum. {'string_min_length': 1} |
MediaServiceDataSet the MediaArtist
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| artist | String |
Music: The name of the current album artist Podcast: The provider of the podcast (hosts, network, company) Audiobook: The book author's name - The desired MediaArtist. {'string_min_length': 1} |
MediaServiceDataSet the MediaImage
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| image | Image |
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 - The desired MediaImage. |
MediaServiceDataSet the MediaTitle
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| title | String |
Music: The name of the current track Podcast: The name of the current episode Audiobook: The name of the current chapter - The desired MediaTitle. {'string_min_length': 1} |
MediaServiceDataSet the MediaType
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| type | MediaType |
The type of the currently playing or paused track. - The desired MediaType. |
MediaServiceDataSet the PlaylistName
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| name | String |
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 - The desired PlaylistName. {'string_min_length': 1} |
MediaServiceDataSet the QueueCurrentTrackNumber
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| number | Number |
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) - The desired QueueCurrentTrackNumber. |
MediaServiceDataSet the QueuePlaybackDuration
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| duration | Number |
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 - The desired QueuePlaybackDuration. |
MediaServiceDataSet the QueuePlaybackProgress
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| progress | Number |
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 - The desired QueuePlaybackProgress. |
MediaServiceDataSet the QueueTotalTrackCount
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| count | Number |
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) - The desired QueueTotalTrackCount. |
MediaServiceDataSet the TrackPlaybackDuration
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| duration | Number |
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 - The desired TrackPlaybackDuration. |
MediaServiceDataSet the TrackPlaybackProgress
Kind: Instance method of MediaServiceData
Returns: MediaServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| progress | Number |
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 - The desired TrackPlaybackProgress. |