MusicVideoEntity


public final class MusicVideoEntity extends Entity


An object representing a music video.

Summary

Nested types

public final class MusicVideoEntity.Builder

Builder class for MusicVideoEntity.

Public fields

final Uri

Public methods

List<String>

Returns the list of artists of the music video.

List<String>

Returns the content ratings of the music video.

Optional<String>

Returns the description of the audio entity, if available

Optional<Long>

Returns the duration of the music video.

Optional<String>

Returns the id of the entity.

Optional<Uri>

Returns the info page uri of the music video, if available

Optional<Long>

Returns the last engagement time in milliseconds.

String

Returns the name of the entity.

Uri

Returns the play back uri of the music video.

List<Image>

Returns the poster image of the entity.

Optional<Integer>

Returns the percentage progress completed.

Optional<String>

Returns the number of views on the music video.

boolean

Returns whether the music video is downloaded on device or not

boolean

Returns whether the music video has explicit content or not

Public fields

playBackUri

public final Uri playBackUri

Public methods

getArtists

public List<StringgetArtists()

Returns the list of artists of the music video.

getContentRatings

public List<StringgetContentRatings()

Returns the content ratings of the music video.

getDescription

public Optional<StringgetDescription()

Returns the description of the audio entity, if available

getDurationMillis

public Optional<LonggetDurationMillis()

Returns the duration of the music video.

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getInfoPageUri

public Optional<UrigetInfoPageUri()

Returns the info page uri of the music video, if available

getLastEngagementTimeMillis

public Optional<LonggetLastEngagementTimeMillis()

Returns the last engagement time in milliseconds.

getName

public String getName()

Returns the name of the entity.

getPlayBackUri

public Uri getPlayBackUri()

Returns the play back uri of the music video.

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getProgressPercentComplete

public Optional<IntegergetProgressPercentComplete()

Returns the percentage progress completed.

getViewCount

public Optional<StringgetViewCount()

Returns the number of views on the music video.

isDownloadedOnDevice

public boolean isDownloadedOnDevice()

Returns whether the music video is downloaded on device or not

isExplicitContent

public boolean isExplicitContent()

Returns whether the music video has explicit content or not