Class VideoUrl.Builder

  • Enclosing class:
    VideoUrl

    public static class VideoUrl.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • url

        public VideoUrl.Builder url​(String url)
        The base64 encoded video data or a video uri if it’s supported.

        Example for an mp4 video: { "type": "VIDEO", "videoUrl": { "url": "data:video/mp4;base64," } }

        Example with a video uri: { "type": "VIDEO", "videoUrl": { "url": "data:video/mp4;uri,

        Parameters:
        url - the value to set
        Returns:
        this builder
      • detail

        public VideoUrl.Builder detail​(VideoUrl.Detail detail)
        The default value is AUTO and only AUTO is supported.

        This option controls how to convert the base64 encoded video to tokens.

        Parameters:
        detail - the value to set
        Returns:
        this builder