Class GenericSessionEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.session.GenericSessionEvent
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
ReadyEvent
,SessionDisconnectEvent
,SessionInvalidateEvent
,SessionRecreateEvent
,SessionResumeEvent
,ShutdownEvent
Events which update the gateway session status.
This is primarily used to inform about the connection state and whether a resume happens.
-
Constructor Summary
-
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
GenericSessionEvent
-
-
Method Details
-
getState
The new session state.- Returns:
SessionState
-