Package com.jwplayer.pub.api.events
Class CaptionsChangedEvent
java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.CaptionsChangedEvent
Fired whenever the active captions track is changed manually or via API.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CaptionsChangedEvent
-
-
Method Details
-
getCurrentTrack
public int getCurrentTrack()- Returns:
- Index of the new active captions track.
-