| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Caption |
build() |
Caption.Builder |
file(java.lang.String file) |
Caption.Builder |
isdefault(boolean _default) |
Caption.Builder |
kind(CaptionType kind) |
Caption.Builder |
label(java.lang.String label) |
public Caption.Builder file(java.lang.String file)
file - URL to the captions, chapters or thumbnails text track file.public Caption.Builder kind(CaptionType kind)
kind - The kind of text track.public Caption.Builder label(java.lang.String label)
label - Label of the text track. Is only used in setups with multiple captions, where the label is displayed in the CC selection menu.public Caption.Builder isdefault(boolean _default)
_default - Only for captions. Set this to true if you want a captions track to display by defaultpublic Caption build()