Class Caption.Builder

    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(Caption caption)
    • Method Detail

      • file

        public Caption.Builder file​(java.lang.String file)
        Parameters:
        file - URL to the captions, chapters or thumbnails text track file. All paths must have their protocol defined https://, file:///, asset:///
      • label

        public Caption.Builder label​(java.lang.String label)
        Parameters:
        label - Label of the text track. Is only used in setups with multiple captions, where the label is displayed in the CC selection menu.
      • isDefault

        public Caption.Builder isDefault​(boolean isDefault)
        Parameters:
        isDefault - Only for captions. Set this to true if you want a captions track to display by default