Class PlayEvent


  • public class PlayEvent
    extends Event
    Payload that accompanies the onPlay() event.
    • Method Detail

      • getOldState

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

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