Class ChaptersTrack
- java.lang.Object
-
- com.jwplayer.pub.api.media.captions.Caption
-
- com.jwplayer.pub.api.media.captions.ChaptersTrack
-
- All Implemented Interfaces:
android.os.Parcelable
public class ChaptersTrack extends Caption
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChaptersTrack.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
ChaptersTrack(ChaptersTrack.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getSkipButtonDuration()
java.lang.String[]
getSkippableChapterNames()
java.lang.Integer[]
getSkippableChapterPositions()
-
Methods inherited from class com.jwplayer.pub.api.media.captions.Caption
describeContents, equals, getFile, getKind, getLabel, hashCode, isDefault, writeToParcel
-
-
-
-
Constructor Detail
-
ChaptersTrack
protected ChaptersTrack(@NonNull ChaptersTrack.Builder builder)
-
-
Method Detail
-
getSkippableChapterNames
@Nullable public java.lang.String[] getSkippableChapterNames()
- Returns:
- The list of the chapters name.
-
getSkippableChapterPositions
@Nullable public java.lang.Integer[] getSkippableChapterPositions()
- Returns:
- The list of the chapters position.
-
getSkipButtonDuration
@Nullable public java.lang.Integer getSkipButtonDuration()
- Returns:
- The visibility duration of the button on the screen.
-
-