UpdateEvent<User,T>
UserUpdateOnlineStatusEvent
instead@Deprecated public class UserOnlineStatusUpdateEvent extends UserUpdateOnlineStatusEvent
OnlineStatus
of a User
changed.
Member
in a Guild or a Friend
!
Can be used to retrieve the User who changed their status and their previous status.
IDENTIFIER
Constructor | Description |
---|---|
UserOnlineStatusUpdateEvent(JDA api,
long responseNumber,
User user,
Guild guild,
OnlineStatus previousOnlineStatus) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
OnlineStatus |
getCurrentOnlineStatus() |
Deprecated.
The current status
|
OnlineStatus |
getPreviousOnlineStatus() |
Deprecated.
The previous status
|
getJDA, getResponseNumber
getUser
getFriend, getGuild, getMember, isRelationshipUpdate
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
getNewOnlineStatus, getOldOnlineStatus
public UserOnlineStatusUpdateEvent(JDA api, long responseNumber, User user, Guild guild, OnlineStatus previousOnlineStatus)
public OnlineStatus getPreviousOnlineStatus()
public OnlineStatus getCurrentOnlineStatus()