MusicAlbumEntity


class MusicAlbumEntity : Entity


An object representing a music album.

Summary

Nested types

Builder class for MusicAlbumEntity.

Public functions

(Mutable)List<String!>!

Returns the list of artists of the music album.

Optional<String!>!

Returns the description of the audio entity, if available

Optional<Long!>!

Returns the duration of the music album, if available.

Optional<String!>!

Returns the id of the entity.

(Mutable)List<String!>!

Returns the list of genres of the music album.

Optional<Long!>!

Returns the last engagement time in milliseconds.

Optional<Int!>!

Returns music album type

(Mutable)List<String!>!

Returns the list of music labels of the music album.

String!

Returns the name of the entity.

Optional<Uri!>!

Returns the play back uri of the music album, if available

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Int!>!

Returns the percentage progress completed.

Optional<Long!>!

Returns the release date of the music album, if available.

Optional<Int!>!

Returns the count of the songs in the music album.

Boolean

Returns whether the music album is downloaded on device or not

Boolean

Returns whether the music album has explicit content or not

Public properties

Uri!

Public functions

getArtists

fun getArtists(): (Mutable)List<String!>!

Returns the list of artists of the music album.

getDescription

fun getDescription(): Optional<String!>!

Returns the description of the audio entity, if available

getDurationMillis

fun getDurationMillis(): Optional<Long!>!

Returns the duration of the music album, if available.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getGenres

fun getGenres(): (Mutable)List<String!>!

Returns the list of genres of the music album.

getLastEngagementTimeMillis

fun getLastEngagementTimeMillis(): Optional<Long!>!

Returns the last engagement time in milliseconds.

getMusicAlbumType

fun getMusicAlbumType(): Optional<Int!>!

Returns music album type

getMusicLabels

fun getMusicLabels(): (Mutable)List<String!>!

Returns the list of music labels of the music album.

getName

fun getName(): String!

Returns the name of the entity.

getPlayBackUri

fun getPlayBackUri(): Optional<Uri!>!

Returns the play back uri of the music album, if available

getPosterImages

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

Returns the poster image of the entity.

getProgressPercentComplete

fun getProgressPercentComplete(): Optional<Int!>!

Returns the percentage progress completed.

getReleaseDateEpochMillis

fun getReleaseDateEpochMillis(): Optional<Long!>!

Returns the release date of the music album, if available.

getSongsCount

fun getSongsCount(): Optional<Int!>!

Returns the count of the songs in the music album.

isDownloadedOnDevice

fun isDownloadedOnDevice(): Boolean

Returns whether the music album is downloaded on device or not

isExplicitContent

fun isExplicitContent(): Boolean

Returns whether the music album has explicit content or not

Public properties

infoPageUri

val infoPageUriUri!