Class CaptionsListEvent
- java.lang.Object
-
- com.longtailvideo.jwplayer.events.CaptionsListEvent
-
-
Constructor Summary
Constructors Constructor Description CaptionsListEvent(java.util.List<Caption> tracks, int currentTrackIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentTrackIndex()
java.util.List<Caption>
getTracks()
-
-
-
Constructor Detail
-
CaptionsListEvent
public CaptionsListEvent(java.util.List<Caption> tracks, int currentTrackIndex)
-
-
Method Detail
-
getTracks
@NonNull public java.util.List<Caption> getTracks()
- Returns:
- A list with all included captions tracks(Including "off"). Includes the same information as getCaptionsList()
-
getCurrentTrackIndex
@NonNull public int getCurrentTrackIndex()
- Returns:
- The index of the currently selected captions track
-
-