Package net.dv8tion.jda.core.events.self
Class SelfUpdateVerifiedEvent
- java.lang.Object
-
- net.dv8tion.jda.core.events.Event
-
- net.dv8tion.jda.core.events.self.GenericSelfUpdateEvent<java.lang.Boolean>
-
- net.dv8tion.jda.core.events.self.SelfUpdateVerifiedEvent
-
- All Implemented Interfaces:
UpdateEvent<SelfUser,java.lang.Boolean>
public class SelfUpdateVerifiedEvent extends GenericSelfUpdateEvent<java.lang.Boolean>
Indicates that the verification state of the current user changed. (client-only)Can be used to retrieve the old verification state.
Identifier:
verified
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
IDENTIFIER
-
Constructor Summary
Constructors Constructor Description SelfUpdateVerifiedEvent(JDA api, long responseNumber, boolean wasVerified)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
wasVerified()
Whether the account was verified-
Methods inherited from class net.dv8tion.jda.core.events.self.GenericSelfUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifier, getSelfUser, toString
-
Methods inherited from class net.dv8tion.jda.core.events.Event
getJDA, getResponseNumber
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.dv8tion.jda.core.events.UpdateEvent
getEntityType
-
-
-
-
Field Detail
-
IDENTIFIER
public static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SelfUpdateVerifiedEvent
public SelfUpdateVerifiedEvent(JDA api, long responseNumber, boolean wasVerified)
-
-