-
-
Method Summary
Get the duration of this playlist item in milliseconds.
Get the external URLs of the playlist item.
Example: Spotify-URL.
Get the full Spotify Web API endpoint URL of the playlist item.
Get the name of the playlist item.
Get the type of the IPlaylistItem.
Get the Spotify playlist item URI.
-
Method Details
-
getDurationMs
Get the duration of this playlist item in milliseconds.
- Returns:
- The playlist item length in milliseconds.
-
getExternalUrls
Get the external URLs of the playlist item.
Example: Spotify-URL.
- Returns:
- Known external URLs for this playlist item.
-
getHref
Get the full Spotify Web API endpoint URL of the playlist item.
- Returns:
- A link to the Web API endpoint providing full details of the playlist item.
-
getId
- Returns:
- The Spotify ID for the playlist item.
-
getName
Get the name of the playlist item.
- Returns:
- playlist item name.
-
getType
Get the type of the IPlaylistItem.
Possible values: ModelObjectType.TRACK
or ModelObjectType.EPISODE
- Returns:
- The type of the IPlaylistItem.
-
getUri
Get the Spotify playlist item URI.
- Returns:
- The Spotify URI for
the playlist item.