MovieEntity


class MovieEntity : Entity


An object representing a movie.

Summary

Nested types

Builder class for MovieEntity.

Public functions

(Mutable)List<DisplayTimeWindow!>!

Returns the availability time windows of the video entity.

(Mutable)List<RatingSystem!>!

Returns the rating systems for the movie

(Mutable)List<String!>!

This function is deprecated.

use getContentRatings instead

Optional<String!>!

Returns the id of the entity.

(Mutable)List<String!>!

Returns the genres of the movie.

Optional<Uri!>!

Returns the deeplink to open the details info page of the movie.

Optional<Long!>!

Returns the last engagement time in milliseconds.

Optional<Long!>!

Returns last play back position of the video entity, in milliseconds.

String!

Returns the name of the entity.

(Mutable)List<PlatformSpecificUri!>!

Returns the platform specific playback uris for the movie entity.

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Price!>!

Returns the price of the movie, if available

Optional<Long!>!

Returns the release date of the movie, in milliseconds since Epoch.

Optional<Int!>!

Returns watch next type of the video entity.

Boolean

Returns whether the movie is downloaded on device or not

Public functions

getAvailabilityTimeWindows

fun getAvailabilityTimeWindows(): (Mutable)List<DisplayTimeWindow!>!

Returns the availability time windows of the video entity.

getContentRatings

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

Returns the rating systems for the movie

getContentRatingsLegacy

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

Returns the content ratings for the movie.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getGenres

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

Returns the genres of the movie.

getInfoPageUri

fun getInfoPageUri(): Optional<Uri!>!

Returns the deeplink to open the details info page of the movie.

getLastEngagementTimeMillis

fun getLastEngagementTimeMillis(): Optional<Long!>!

Returns the last engagement time in milliseconds.

getLastPlayBackPositionTimeMillis

fun getLastPlayBackPositionTimeMillis(): Optional<Long!>!

Returns last play back position of the video entity, in milliseconds.

getName

fun getName(): String!

Returns the name of the entity.

getPlatformSpecificPlaybackUris

fun getPlatformSpecificPlaybackUris(): (Mutable)List<PlatformSpecificUri!>!

Returns the platform specific playback uris for the movie entity.

getPosterImages

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

Returns the poster image of the entity.

getPrice

fun getPrice(): Optional<Price!>!

Returns the price of the movie, if available

getReleaseDateEpochMillis

fun getReleaseDateEpochMillis(): Optional<Long!>!

Returns the release date of the movie, in milliseconds since Epoch.

getWatchNextType

fun getWatchNextType(): Optional<Int!>!

Returns watch next type of the video entity.

isDownloadedOnDevice

fun isDownloadedOnDevice(): Boolean

Returns whether the movie is downloaded on device or not

Public properties

availability

val availabilityInt

durationMillis

val durationMillisLong

playBackUri

val playBackUriUri!