VideoClipEntity


class VideoClipEntity : Entity


An object representing a video created/uploaded by a user or an organization.

Summary

Nested types

Builder class for VideoClipEntity.

Public functions

(Mutable)List<DisplayTimeWindow!>!

Returns the availability time windows of the video entity.

Optional<Image!>!

Returns the avatar creator of the video.

Optional<String!>!

Returns the id of the entity.

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

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<String!>!

Returns the view count of the video.

Optional<Int!>!

Returns watch next type of the video entity.

Boolean

Returns whether the video clip is downloaded on device or not

Public functions

getAvailabilityTimeWindows

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

Returns the availability time windows of the video entity.

getCreatorImage

fun getCreatorImage(): Optional<Image!>!

Returns the avatar creator of the video.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

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

getPosterImages

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

Returns the poster image of the entity.

getViewCount

fun getViewCount(): Optional<String!>!

Returns the view count of the video.

getWatchNextType

fun getWatchNextType(): Optional<Int!>!

Returns watch next type of the video entity.

isDownloadedOnDevice

fun isDownloadedOnDevice(): Boolean

Returns whether the video clip is downloaded on device or not

Public properties

createdTimeEpochMillis

val createdTimeEpochMillisLong

creator

val creatorString!

durationMillis

val durationMillisLong

playBackUri

val playBackUriUri!