Class VideoProperties


  • public final class VideoProperties
    extends Object
    Application level properties for the video resource.
    • Constructor Detail

      • VideoProperties

        public VideoProperties()
    • Method Detail

      • title

        public String title()
        Get the title property: Optional video title provided by the user. Value can be up to 256 characters long.
        Returns:
        the title value.
      • withTitle

        public VideoProperties withTitle​(String title)
        Set the title property: Optional video title provided by the user. Value can be up to 256 characters long.
        Parameters:
        title - the title value to set.
        Returns:
        the VideoProperties object itself.
      • description

        public String description()
        Get the description property: Optional video description provided by the user. Value can be up to 2048 characters long.
        Returns:
        the description value.
      • withDescription

        public VideoProperties withDescription​(String description)
        Set the description property: Optional video description provided by the user. Value can be up to 2048 characters long.
        Parameters:
        description - the description value to set.
        Returns:
        the VideoProperties object itself.
      • type

        public VideoType type()
        Get the type property: Video content type. Different content types are suitable for different applications and scenarios.
        Returns:
        the type value.
      • flags

        public VideoFlags flags()
        Get the flags property: Video flags contain information about the available video actions and its dynamic properties based on the current video state.
        Returns:
        the flags value.
      • contentUrls

        public VideoContentUrls contentUrls()
        Get the contentUrls property: Set of URLs to the video content.
        Returns:
        the contentUrls value.
      • mediaInfo

        public VideoMediaInfo mediaInfo()
        Get the mediaInfo property: Contains information about the video and audio content.
        Returns:
        the mediaInfo value.
      • withMediaInfo

        public VideoProperties withMediaInfo​(VideoMediaInfo mediaInfo)
        Set the mediaInfo property: Contains information about the video and audio content.
        Parameters:
        mediaInfo - the mediaInfo value to set.
        Returns:
        the VideoProperties object itself.
      • archival

        public VideoArchival archival()
        Get the archival property: Video archival properties.
        Returns:
        the archival value.
      • withArchival

        public VideoProperties withArchival​(VideoArchival archival)
        Set the archival property: Video archival properties.
        Parameters:
        archival - the archival value to set.
        Returns:
        the VideoProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.