EventListener
SystemEventListener
This notification is useful for discontinuing a costly animation, or indicating that the user is no longer present on a network service.
Some systems may provide a reason of the user session change.
UserSessionEvent.Reason.UNSPECIFIED
UserSessionEvent.Reason.CONSOLE
UserSessionEvent.Reason.REMOTE
UserSessionEvent.Reason.LOCK
void
userSessionActivated(UserSessionEvent e)
userSessionDeactivated(UserSessionEvent e)
e