UpdateEvent<SelfUser,java.lang.Boolean>
public class SelfUpdateMobileEvent extends GenericSelfUpdateEvent<java.lang.Boolean>
Can be used to detect that your account was used with a mobile device.
Identifier: mobile
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
SelfUpdateMobileEvent(JDA api,
long responseNumber,
boolean wasMobile) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
wasMobile() |
The old mobile status.
|
getJDA, getResponseNumber
getEntity, getNewValue, getOldValue, getPropertyIdentifier, getSelfUser, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER
public SelfUpdateMobileEvent(JDA api, long responseNumber, boolean wasMobile)