Package net.dv8tion.jda.api.events.user
Class GenericUserEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.user.GenericUserEvent
-
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GenericUserUpdateEvent
,UserActivityEndEvent
,UserActivityStartEvent
,UserTypingEvent
public abstract class GenericUserEvent extends Event
Indicates that aUser
changed or started an activity.
Every UserEvent is derived from this event and can be casted.Can be used to detect any UserEvent.
-
-
Constructor Summary
Constructors Constructor Description GenericUserEvent(JDA api, long responseNumber, User user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
getUser()
The related user instance-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-