Class PauseEvent


  • public class PauseEvent
    extends Event
    Payload that accompanies the onPause() event.
    • Method Detail

      • getOldState

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

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