LiveStreamingVideoEntity


public final class LiveStreamingVideoEntity extends Entity


An object representing a live streaming video.

Summary

Nested types

Builder class for LiveStreamingVideoEntity.

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.

ImmutableList<RatingSystem>

Returns the content ratings of the entity.

Optional<String>

Returns the description of the entity.

Optional<Long>

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

Optional<String>

Returns the id of the entity.

ImmutableList<String>

Returns the genres 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<RecommendationReason>

Returns the recommendation reason 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

contentRatings

public final ImmutableList<RatingSystem> contentRatings

genres

public final ImmutableList<String> genres

playBackUri

public final Uri playBackUri

Public methods

getAvailabilityTimeWindows

public List<DisplayTimeWindow> getAvailabilityTimeWindows()

Returns the availability time windows of the video entity.

getBroadcaster

public String getBroadcaster()

Returns the broadcaster of the live streaming.

getBroadcasterIcon

public Optional<Image> getBroadcasterIcon()

Returns the broadcaster's icon for the live streaming.

getContentRatings

public ImmutableList<RatingSystem> getContentRatings()

Returns the content ratings of the entity.

getDescription

public Optional<String> getDescription()

Returns the description of the entity.

getEndTimeEpochMillis

public Optional<Long> getEndTimeEpochMillis()

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

getEntityId

public Optional<String> getEntityId()

Returns the id of the entity.

getGenres

public ImmutableList<String> getGenres()

Returns the genres of the entity.

getLastEngagementTimeMillis

public Optional<Long> getLastEngagementTimeMillis()

Returns the last engagement time in milliseconds.

getLastPlayBackPositionTimeMillis

public Optional<Long> getLastPlayBackPositionTimeMillis()

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

getName

public String getName()

Returns the name of the entity.

getPlatformSpecificPlaybackUris

public List<PlatformSpecificUri> getPlatformSpecificPlaybackUris()

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<Image> getPosterImages()

Returns the poster image of the entity.

getRecommendationReason

public Optional<RecommendationReason> getRecommendationReason()

Returns the recommendation reason of the entity.

getStartTimeEpochMillis

public Optional<Long> getStartTimeEpochMillis()

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

getViewCount

public Optional<String> getViewCount()

Returns the view count of the live streaming.

getWatchNextType

public Optional<Integer> getWatchNextType()

Returns watch next type of the video entity.