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 SummaryConstructors
- 
Method SummaryMethods inherited from class net.dv8tion.jda.api.events.EventgetJDA, getRawData, getResponseNumber, toString
- 
Constructor Details- 
GenericSessionEvent
 
- 
- 
Method Details- 
getStateThe new session state.- Returns:
- SessionState
 
 
-