# LiveStreamingVideoEntity

# LiveStreamingVideoEntity

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity "View this page in Java")  

<br />

```
class LiveStreamingVideoEntity : Entity
```

<br />

|---|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                                             |||
| ↳ | [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity)                                      ||
|   | ↳ | [com.google.android.engage.video.datamodel.LiveStreamingVideoEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity) |

*** ** * ** ***

An object representing a live streaming video.

## Summary

|                                                                                                                                                           ### Nested types                                                                                                                                                            |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[LiveStreamingVideoEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity.Builder) Builder class for[LiveStreamingVideoEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity). |

|                                                                                                                                                             ### Public functions                                                                                                                                                              |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!>!`     | [getAvailabilityTimeWindows](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getAvailabilityTimeWindows())`()` Returns the availability time windows of the video entity.                           |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!>!`                                                                                                                                     | [getBroadcasterIcon](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getBroadcasterIcon())`()` Returns the broadcaster's icon for the live streaming.                                               |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                                             | [getDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getDescription())`()` Returns the description of the entity.                                                                       |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`!>!`                                                                                                                                                                 | [getEndTimeEpochMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getEndTimeEpochMillis())`()` Returns time when the live streaming ends, in milliseconds since Epoch.                        |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                                             | [getEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getEntityId())`()` Returns the id of the entity.                                                                                      |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`!>!`                                                                                                                                                                 | [getLastEngagementTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getLastEngagementTimeMillis())`()` Returns the last engagement time in milliseconds.                                  |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`!>!`                                                                                                                                                                 | [getLastPlayBackPositionTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getLastPlayBackPositionTimeMillis())`()` Returns last play back position of the video entity, in milliseconds.  |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!`                                                                                                                                                                                                                                                           | [getName](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getName())`()` Returns the name of the entity.                                                                                            |
| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[PlatformSpecificUri](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/PlatformSpecificUri)`!>!` | [getPlatformSpecificPlaybackUris](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getPlatformSpecificPlaybackUris())`()` Returns the platform specific playback uris for the live streaming entity. |
| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!>!`                             | [getPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getPosterImages())`()` Returns the poster image of the entity.                                                                    |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[RecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/RecommendationReason)`!>!`                                                                                                       | [getRecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getRecommendationReason())`()` Returns the recommendation reason of the entity.                                           |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`!>!`                                                                                                                                                                 | [getStartTimeEpochMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getStartTimeEpochMillis())`()` Returns time when the live streaming starts, in milliseconds since Epoch.                  |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                                             | [getViewCount](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getViewCount())`()` Returns the view count of the live streaming.                                                                    |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`!>!`                                                                                                                                                                   | [getWatchNextType](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#getWatchNextType())`()` Returns watch next type of the video entity.                                                             |

|                                                                                                        ### Public properties                                                                                                        |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!`                                                                                                                                                 | [broadcaster](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#broadcaster())       |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[RatingSystem](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RatingSystem)`!>!` | [contentRatings](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#contentRatings()) |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                      | [genres](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#genres())                 |
| [Uri](https://developer.android.com/reference/android/net/Uri.html)`!`                                                                                                                                                              | [playBackUri](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveStreamingVideoEntity#playBackUri())       |

|                                                                                                                                                                                                                                                                                         ### Inherited functions                                                                                                                                                                                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity) |----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getEntityType](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity#getEntityType())`()` | |

## Public functions

### getAvailabilityTimeWindows

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

Returns the availability time windows of the video entity.  

### getBroadcasterIcon

```
fun getBroadcasterIcon(): Optional<Image!>!
```

Returns the broadcaster's icon for the live streaming.  

### getDescription

```
fun getDescription(): Optional<String!>!
```

Returns the description of the entity.  

### getEndTimeEpochMillis

```
fun getEndTimeEpochMillis(): Optional<Long!>!
```

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

### 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 live streaming entity.  

### getPosterImages

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

Returns the poster image of the entity.  

### getRecommendationReason

```
fun getRecommendationReason(): Optional<RecommendationReason!>!
```

Returns the recommendation reason of the entity.  

### getStartTimeEpochMillis

```
fun getStartTimeEpochMillis(): Optional<Long!>!
```

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

### getViewCount

```
fun getViewCount(): Optional<String!>!
```

Returns the view count of the live streaming.  

### getWatchNextType

```
fun getWatchNextType(): Optional<Int!>!
```

Returns watch next type of the video entity.  

## Public properties

### broadcaster

```
val broadcaster: String!
```  

### contentRatings

```
val contentRatings: ImmutableList<RatingSystem!>!
```  

### genres

```
val genres: ImmutableList<String!>!
```  

### playBackUri

```
val playBackUri: Uri!
```