Class PauseEvent

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

public class PauseEvent extends Event
Payload that accompanies the onPause() event.
  • Constructor Details

  • Method Details

    • getOldState

      public PlayerState getOldState()
      Returns:
      The state the player moved from.
    • getPauseReason

      public PauseReason getPauseReason()
      Returns:
      The pause reason from the player.