Package video.api.client.api.models
Class VideoAssets
- java.lang.Object
-
- video.api.client.api.models.VideoAssets
-
- All Implemented Interfaces:
Serializable,DeepObject
public class VideoAssets extends Object implements Serializable, DeepObject
Collection of details about the video object that you can use to work with the video object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_HLSstatic StringSERIALIZED_NAME_IFRAMEstatic StringSERIALIZED_NAME_MP4static StringSERIALIZED_NAME_PLAYERstatic StringSERIALIZED_NAME_THUMBNAIL
-
Constructor Summary
Constructors Constructor Description VideoAssets()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)URIgetHls()This is the manifest URL.StringgetIframe()Code to use video from a third party websiteURIgetMp4()Available only if mp4Support is enabled.URIgetPlayer()Raw url of the player.URIgetThumbnail()Poster of the video.inthashCode()VideoAssetshls(URI hls)VideoAssetsiframe(String iframe)VideoAssetsmp4(URI mp4)VideoAssetsplayer(URI player)voidsetHls(URI hls)voidsetIframe(String iframe)voidsetMp4(URI mp4)voidsetPlayer(URI player)voidsetThumbnail(URI thumbnail)VideoAssetsthumbnail(URI thumbnail)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_HLS
public static final String SERIALIZED_NAME_HLS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IFRAME
public static final String SERIALIZED_NAME_IFRAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLAYER
public static final String SERIALIZED_NAME_PLAYER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THUMBNAIL
public static final String SERIALIZED_NAME_THUMBNAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MP4
public static final String SERIALIZED_NAME_MP4
- See Also:
- Constant Field Values
-
-
Method Detail
-
hls
public VideoAssets hls(URI hls)
-
getHls
@Nullable public URI getHls()
This is the manifest URL. For HTTP Live Streaming (HLS), when a HLS video stream is initiated, the first file to download is the manifest. This file has the extension M3U8, and provides the video player with information about the various bitrates available for streaming.- Returns:
- hls
-
setHls
public void setHls(URI hls)
-
iframe
public VideoAssets iframe(String iframe)
-
getIframe
@Nullable public String getIframe()
Code to use video from a third party website- Returns:
- iframe
-
setIframe
public void setIframe(String iframe)
-
player
public VideoAssets player(URI player)
-
getPlayer
@Nullable public URI getPlayer()
Raw url of the player.- Returns:
- player
-
setPlayer
public void setPlayer(URI player)
-
thumbnail
public VideoAssets thumbnail(URI thumbnail)
-
getThumbnail
@Nullable public URI getThumbnail()
Poster of the video.- Returns:
- thumbnail
-
setThumbnail
public void setThumbnail(URI thumbnail)
-
mp4
public VideoAssets mp4(URI mp4)
-
getMp4
@Nullable public URI getMp4()
Available only if mp4Support is enabled. Raw mp4 url.- Returns:
- mp4
-
setMp4
public void setMp4(URI mp4)
-
-