Class CaptionsChangedEvent

  • All Implemented Interfaces:
    Event

    public class CaptionsChangedEvent
    extends java.lang.Object
    implements Event
    Payload that accompanies the onCaptionsChanged() event.
    • Constructor Summary

      Constructors 
      Constructor Description
      CaptionsChangedEvent​(int currentTrack)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCurrentTrack()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CaptionsChangedEvent

        public CaptionsChangedEvent​(int currentTrack)
    • Method Detail

      • getCurrentTrack

        public int getCurrentTrack()
        Returns:
        Index of the new active captions track.