LiveStreamingVideoEntity.Builder


class LiveStreamingVideoEntity.Builder


Builder class for LiveStreamingVideoEntity.

Summary

Public constructors

Public functions

LiveStreamingVideoEntity.Builder!

Adds the availability time windows of the video entity.

LiveStreamingVideoEntity.Builder!

Adds the availability time window of the video entity.

LiveStreamingVideoEntity.Builder!

Add platform specific playback uri for the live streaming entity.

LiveStreamingVideoEntity.Builder!

Add platform specific playback uris for the live streaming entity.

LiveStreamingVideoEntity.Builder!

Add a poster image of the entity.

LiveStreamingVideoEntity.Builder!

Add poster images of the entity.

LiveStreamingVideoEntity!
LiveStreamingVideoEntity.Builder!

Sets the broadcaster of the live streaming.

LiveStreamingVideoEntity.Builder!

Sets the broadcaster's icon for the live streaming entity.

LiveStreamingVideoEntity.Builder!

Sets the end time of the live streaming in milliseconds since Epoch.

LiveStreamingVideoEntity.Builder!

Sets content id of the entity.

LiveStreamingVideoEntity.Builder!

Sets last engagement time of the entity, in milliseconds since Epoch.

LiveStreamingVideoEntity.Builder!

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

LiveStreamingVideoEntity.Builder!

Sets the name of the entity.

LiveStreamingVideoEntity.Builder!

Sets the on device deeplink to start playing the video.

LiveStreamingVideoEntity.Builder!

Sets the start time of the live streaming in milliseconds since Epoch.

LiveStreamingVideoEntity.Builder!

Sets the view count of the live streaming.

LiveStreamingVideoEntity.Builder!

Sets the watch next type of the video entity.

Public constructors

Builder

Builder()

Public functions

addAllAvailabilityTimeWindows

@CanIgnoreReturnValue
fun addAllAvailabilityTimeWindows(
    availabilityTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): LiveStreamingVideoEntity.Builder!

Adds the availability time windows of the video entity.

Optional.

addAvailabilityTimeWindow

@CanIgnoreReturnValue
fun addAvailabilityTimeWindow(availabilityTimeWindow: DisplayTimeWindow!): LiveStreamingVideoEntity.Builder!

Adds the availability time window of the video entity.

Optional.

addPlatformSpecificPlaybackUri

@CanIgnoreReturnValue
fun addPlatformSpecificPlaybackUri(
    platformSpecificPlaybackUri: PlatformSpecificUri!
): LiveStreamingVideoEntity.Builder!

Add platform specific playback uri for the live streaming entity.

Optional.

addPlatformSpecificPlaybackUris

@CanIgnoreReturnValue
fun addPlatformSpecificPlaybackUris(
    platformSpecificPlaybackUris: (Mutable)List<PlatformSpecificUri!>!
): LiveStreamingVideoEntity.Builder!

Add platform specific playback uris for the live streaming entity.

Optional.

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(image: Image!): LiveStreamingVideoEntity.Builder!

Add a poster image of the entity.

Required.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(images: (Mutable)List<Image!>!): LiveStreamingVideoEntity.Builder!

Add poster images of the entity.

Required.

setBroadcaster

@CanIgnoreReturnValue
fun setBroadcaster(broadcaster: String!): LiveStreamingVideoEntity.Builder!

Sets the broadcaster of the live streaming.

Required.

setBroadcasterIcon

@CanIgnoreReturnValue
fun setBroadcasterIcon(broadcasterIcon: Image!): LiveStreamingVideoEntity.Builder!

Sets the broadcaster's icon for the live streaming entity.

Optional.

setEndTimeEpochMillis

@CanIgnoreReturnValue
fun setEndTimeEpochMillis(endTimeEpochMillis: Long): LiveStreamingVideoEntity.Builder!

Sets the end time of the live streaming in milliseconds since Epoch.

Optional.

setEntityId

@CanIgnoreReturnValue
fun setEntityId(entityId: String!): LiveStreamingVideoEntity.Builder!

Sets content id of the entity.

Optional.

setLastEngagementTimeMillis

@CanIgnoreReturnValue
fun setLastEngagementTimeMillis(lastEngagementTimeMillis: Long): LiveStreamingVideoEntity.Builder!

Sets last engagement time of the entity, in milliseconds since Epoch.

Optional.

setLastPlayBackPositionTimeMillis

@CanIgnoreReturnValue
fun setLastPlayBackPositionTimeMillis(lastPlayBackPositionTimeMillis: Long): LiveStreamingVideoEntity.Builder!

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

Optional.

setName

@CanIgnoreReturnValue
fun setName(name: String!): LiveStreamingVideoEntity.Builder!

Sets the name of the entity.

Required.

setPlayBackUri

@CanIgnoreReturnValue
fun setPlayBackUri(playBackUri: Uri!): LiveStreamingVideoEntity.Builder!

Sets the on device deeplink to start playing the video.

Required.

setStartTimeEpochMillis

@CanIgnoreReturnValue
fun setStartTimeEpochMillis(startTimeEpochMillis: Long): LiveStreamingVideoEntity.Builder!

Sets the start time of the live streaming in milliseconds since Epoch.

Optional.

setViewCount

@CanIgnoreReturnValue
fun setViewCount(viewCount: String!): LiveStreamingVideoEntity.Builder!

Sets the view count of the live streaming.

Optional.

setWatchNextType

@CanIgnoreReturnValue
fun setWatchNextType(@WatchNextType watchNextType: Int): LiveStreamingVideoEntity.Builder!

Sets the watch next type of the video entity.

Optional.