public static class Video.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(java.lang.String uri)
The Video.Builder
|
| Modifier and Type | Method and Description |
|---|---|
Video |
build()
Builds the
Video object. |
Video.Builder |
setDeliveryType(DeliveryType deliveryType)
Sets the Video Delivery Type.
|
Video.Builder |
setIsLiveVideo(boolean isLiveVideo)
Indicates whether this video is Live or not.
|
Video.Builder |
setProjectionFormat(Video.ProjectionFormat projectionFormat)
Sets the Video Projection Format.
|
public Builder(@NonNull
java.lang.String uri)
uri - the String URI to the video@NonNull public Video.Builder setDeliveryType(@NonNull DeliveryType deliveryType)
deliveryType - the delivery type@NonNull public Video.Builder setProjectionFormat(@NonNull Video.ProjectionFormat projectionFormat)
projectionFormat - the projection format@NonNull public Video.Builder setIsLiveVideo(boolean isLiveVideo)
Once the video is loaded in the player, it is recommended to use VideoDisplayComponent.isLive()
and VideoDisplayComponent.hasDvr() to determine that a Video is live and
has DVR capabilities, respectively.
isLiveVideo - true to indicate the video is Live