Class PlayEvent

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

public class PlayEvent extends Event
Payload that accompanies the onPlay() event.
  • Constructor Details

  • Method Details

    • getOldState

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

      public PlayReason getPlayReason()
      Returns:
      The play reason from the player.