Class VideoAssets

java.lang.Object
video.api.client.api.models.VideoAssets
All Implemented Interfaces:
java.io.Serializable

public class VideoAssets
extends java.lang.Object
implements java.io.Serializable
Collection of details about the video object that you can use to work with the video object.
See Also:
Serialized Form
  • Field Details

    • SERIALIZED_NAME_HLS

      public static final java.lang.String SERIALIZED_NAME_HLS
      See Also:
      Constant Field Values
    • SERIALIZED_NAME_IFRAME

      public static final java.lang.String SERIALIZED_NAME_IFRAME
      See Also:
      Constant Field Values
    • SERIALIZED_NAME_PLAYER

      public static final java.lang.String SERIALIZED_NAME_PLAYER
      See Also:
      Constant Field Values
    • SERIALIZED_NAME_THUMBNAIL

      public static final java.lang.String SERIALIZED_NAME_THUMBNAIL
      See Also:
      Constant Field Values
    • SERIALIZED_NAME_MP4

      public static final java.lang.String SERIALIZED_NAME_MP4
      See Also:
      Constant Field Values
  • Constructor Details

    • VideoAssets

      public VideoAssets()
  • Method Details

    • hls

      public VideoAssets hls​(java.net.URI hls)
    • getHls

      @Nullable public java.net.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​(java.net.URI hls)
    • iframe

      public VideoAssets iframe​(java.lang.String iframe)
    • getIframe

      @Nullable public java.lang.String getIframe()
      Code to use video from a third party website
      Returns:
      iframe
    • setIframe

      public void setIframe​(java.lang.String iframe)
    • player

      public VideoAssets player​(java.net.URI player)
    • getPlayer

      @Nullable public java.net.URI getPlayer()
      Raw url of the player.
      Returns:
      player
    • setPlayer

      public void setPlayer​(java.net.URI player)
    • thumbnail

      public VideoAssets thumbnail​(java.net.URI thumbnail)
    • getThumbnail

      @Nullable public java.net.URI getThumbnail()
      Poster of the video.
      Returns:
      thumbnail
    • setThumbnail

      public void setThumbnail​(java.net.URI thumbnail)
    • mp4

      public VideoAssets mp4​(java.net.URI mp4)
    • getMp4

      @Nullable public java.net.URI getMp4()
      Available only if mp4Support is enabled. Raw mp4 url.
      Returns:
      mp4
    • setMp4

      public void setMp4​(java.net.URI mp4)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object