Class Caption
java.lang.Object
com.jwplayer.pub.api.media.captions.Caption
A caption track.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
getFile()
getKind()
getLabel()
int
hashCode()
boolean
boolean
void
writeToParcel
(Parcel dest, int flags)
-
Field Details
-
CREATOR
public static final <any> CREATOR
-
-
Constructor Details
-
Caption
-
-
Method Details
-
getFile
- Returns:
- URL to the captions, chapters or thumbnails text track file.
-
getKind
- Returns:
- The kind of text track.
-
getLabel
- Returns:
- 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 boolean isDefault()- Returns:
- Only for captions. Set this to true if you want a captions track to display by default
-
isIncludedInManifest
public boolean isIncludedInManifest()- Returns:
- Only for captions. Returns if track is included in manifest. Defaults to false
-
describeContents
public int describeContents() -
writeToParcel
public void writeToParcel(Parcel dest, int flags) -
equals
-
hashCode
public int hashCode()
-