PlaylistEntity


class PlaylistEntity : Entity


An object representing a music playlist.

Summary

Nested types

Builder class for PlaylistEntity.

Public functions

Optional<String!>!

Returns the description of the audio entity, if available

Optional<Long!>!

Returns the duration of the playlist.

Optional<String!>!

Returns the id of the entity.

Optional<Uri!>!

Returns the info page uri of the playlist.

Optional<Long!>!

Returns the last engagement time in milliseconds.

String!

Returns the name of the entity.

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Int!>!

Returns the percentage progress completed.

Optional<Int!>!

Returns the count of the songs in the playlist.

Boolean

Returns whether the playlist is downloaded on device or not

Boolean

Returns whether the playlist has explicit content or not

Public properties

Uri!

Public functions

getDescription

fun getDescription(): Optional<String!>!

Returns the description of the audio entity, if available

getDurationMillis

fun getDurationMillis(): Optional<Long!>!

Returns the duration of the playlist.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getInfoPageUri

fun getInfoPageUri(): Optional<Uri!>!

Returns the info page uri of the playlist.

getLastEngagementTimeMillis

fun getLastEngagementTimeMillis(): Optional<Long!>!

Returns the last engagement time in milliseconds.

getName

fun getName(): String!

Returns the name of the entity.

getPosterImages

fun getPosterImages(): (Mutable)List<Image!>!

Returns the poster image of the entity.

getProgressPercentComplete

fun getProgressPercentComplete(): Optional<Int!>!

Returns the percentage progress completed.

getSongsCount

fun getSongsCount(): Optional<Int!>!

Returns the count of the songs in the playlist.

isDownloadedOnDevice

fun isDownloadedOnDevice(): Boolean

Returns whether the playlist is downloaded on device or not

isExplicitContent

fun isExplicitContent(): Boolean

Returns whether the playlist has explicit content or not

Public properties

playBackUri

val playBackUriUri!