LiveStreamingVideoEntity


public final class LiveStreamingVideoEntity extends Entity


An object representing a live streaming video.

Summary

Nested types

Builder class for LiveStreamingVideoEntity.

Public fields

final String
final Uri

Public methods

List<DisplayTimeWindow>

Returns the availability time windows of the video entity.

String

Returns the broadcaster of the live streaming.

Optional<Image>

Returns the broadcaster's icon for the live streaming.

Optional<Long>

Returns time when the live streaming ends, in milliseconds since Epoch.

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.

List<PlatformSpecificUri>

Returns the platform specific playback uris for the live streaming entity.

Uri

Returns the on device deeplink to start playing the video.

List<Image>

Returns the poster image of the entity.

Optional<Long>

Returns time when the live streaming starts, in milliseconds since Epoch.

Optional<String>

Returns the view count of the live streaming.

Optional<Integer>

Returns watch next type of the video entity.

Public fields

broadcaster

public final String broadcaster

playBackUri

public final Uri playBackUri

Public methods

getAvailabilityTimeWindows

public List<DisplayTimeWindowgetAvailabilityTimeWindows()

Returns the availability time windows of the video entity.

getBroadcaster

public String getBroadcaster()

Returns the broadcaster of the live streaming.

getBroadcasterIcon

public Optional<ImagegetBroadcasterIcon()

Returns the broadcaster's icon for the live streaming.

getEndTimeEpochMillis

public Optional<LonggetEndTimeEpochMillis()

Returns time when the live streaming ends, in milliseconds since Epoch.

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getLastEngagementTimeMillis

public Optional<LonggetLastEngagementTimeMillis()

Returns the last engagement time in milliseconds.

getLastPlayBackPositionTimeMillis

public Optional<LonggetLastPlayBackPositionTimeMillis()

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

getName

public String getName()

Returns the name of the entity.

getPlatformSpecificPlaybackUris

public List<PlatformSpecificUrigetPlatformSpecificPlaybackUris()

Returns the platform specific playback uris for the live streaming entity.

getPlayBackUri

public Uri getPlayBackUri()

Returns the on device deeplink to start playing the video.

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getStartTimeEpochMillis

public Optional<LonggetStartTimeEpochMillis()

Returns time when the live streaming starts, in milliseconds since Epoch.

getViewCount

public Optional<StringgetViewCount()

Returns the view count of the live streaming.

getWatchNextType

public Optional<IntegergetWatchNextType()

Returns watch next type of the video entity.