Class LevelsEvent

java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.LevelsEvent

public class LevelsEvent extends Event
Payload that accompanies the onLevels() event.
  • Constructor Details

  • Method Details

    • getLevels

      public List<QualityLevel> getLevels()
      Returns:
      The full list of qualities, including the new additions. Includes the same information as getQualityLevels().
    • getCurrentQualityIndex

      public int getCurrentQualityIndex()
      Returns:
      The quality currently loaded