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

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

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