Class Caption

    • Constructor Detail

      • Caption

        public Caption()
    • Method Detail

      • getUri

        @Nullable
        public String getUri()
        The unique resource identifier of the uploaded caption.
        Returns:
        uri
      • setUri

        public void setUri​(String uri)
      • getSrc

        @Nullable
        public String getSrc()
        A direct URL to the uploaded caption file.
        Returns:
        src
      • setSrc

        public void setSrc​(String src)
      • getSrclang

        @Nullable
        public String getSrclang()
        Indicates the language of the uploaded caption file using IETF language tags.
        Returns:
        srclang
      • setSrclang

        public void setSrclang​(String srclang)
      • languageName

        public Caption languageName​(String languageName)
      • getLanguageName

        @Nullable
        public String getLanguageName()
        Returns the native name of the caption language in UTF-8 encoding.
        Returns:
        languageName
      • setLanguageName

        public void setLanguageName​(String languageName)
      • getDefault

        @Nullable
        public Boolean getDefault()
        Whether you will have subtitles or not. True for yes you will have subtitles, false for no you will not have subtitles.
        Returns:
        _default
      • setDefault

        public void setDefault​(Boolean _default)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object