MusicAlbumEntity


public final class MusicAlbumEntity extends Entity


An object representing a music album.

Summary

Nested types

public final class MusicAlbumEntity.Builder

Builder class for MusicAlbumEntity.

Public fields

final Uri

Public methods

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.

List<String>

Returns the list of genres of the music album.

Uri

Returns the info page uri of the music album.

Optional<Long>

Returns the last engagement time in milliseconds.

Optional<Integer>

Returns music album type

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

List<Image>

Returns the poster image of the entity.

Optional<Integer>

Returns the percentage progress completed.

Optional<Long>

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

Optional<Integer>

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 fields

infoPageUri

public final Uri infoPageUri

Public methods

getArtists

public List<StringgetArtists()

Returns the list of artists of the music album.

getDescription

public Optional<StringgetDescription()

Returns the description of the audio entity, if available

getDurationMillis

public Optional<LonggetDurationMillis()

Returns the duration of the music album, if available.

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getGenres

public List<StringgetGenres()

Returns the list of genres of the music album.

getInfoPageUri

public Uri getInfoPageUri()

Returns the info page uri of the music album.

getLastEngagementTimeMillis

public Optional<LonggetLastEngagementTimeMillis()

Returns the last engagement time in milliseconds.

getMusicAlbumType

public Optional<IntegergetMusicAlbumType()

Returns music album type

getMusicLabels

public List<StringgetMusicLabels()

Returns the list of music labels of the music album.

getName

public String getName()

Returns the name of the entity.

getPlayBackUri

public Optional<UrigetPlayBackUri()

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

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getProgressPercentComplete

public Optional<IntegergetProgressPercentComplete()

Returns the percentage progress completed.

getReleaseDateEpochMillis

public Optional<LonggetReleaseDateEpochMillis()

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

getSongsCount

public Optional<IntegergetSongsCount()

Returns the count of the songs in the music album.

isDownloadedOnDevice

public boolean isDownloadedOnDevice()

Returns whether the music album is downloaded on device or not

isExplicitContent

public boolean isExplicitContent()

Returns whether the music album has explicit content or not