MusicVideoEntity


class MusicVideoEntity : Entity


An object representing a music video.

Summary

Nested types

Builder class for MusicVideoEntity.

Public functions

(Mutable)List<String!>!

Returns the list of artists of the music video.

(Mutable)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.

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Int!>!

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 properties

Uri!

Public functions

getArtists

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

Returns the list of artists of the music video.

getContentRatings

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

Returns the content ratings of the music video.

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 video.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getInfoPageUri

fun getInfoPageUri(): Optional<Uri!>!

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

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.

getViewCount

fun getViewCount(): Optional<String!>!

Returns the number of views on the music video.

isDownloadedOnDevice

fun isDownloadedOnDevice(): Boolean

Returns whether the music video is downloaded on device or not

isExplicitContent

fun isExplicitContent(): Boolean

Returns whether the music video has explicit content or not

Public properties

playBackUri

val playBackUriUri!