public static enum Session.events extends java.lang.Enum<Session.events>
Enum Constant and Description |
---|
featuresUpdated
Billing features available for current user has been changed
|
fileUploaded
file(s) has been uploaded into session, event data is JSON for upload result
EventHandler.onEvent(java.lang.Enum event, java.lang.Object object, java.lang.Object oldData, java.lang.Object newData) with:event - fileUploaded object - Session session oldData - null newData - JsonObject eventData |
invalidSession
session has been lost
|
serverUpdated
server time was updated, e.g.
|
Modifier and Type | Method and Description |
---|---|
static Session.events |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Session.events[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session.events serverUpdated
EventHandler.onEvent(java.lang.Enum event, java.lang.Object object, java.lang.Object oldData, java.lang.Object newData)
with:event -
serverUpdated
object -
Session
session
oldData - null
newData -
long
serverTime
public static final Session.events invalidSession
public static final Session.events fileUploaded
EventHandler.onEvent(java.lang.Enum event, java.lang.Object object, java.lang.Object oldData, java.lang.Object newData)
with:event -
fileUploaded
object -
Session
session
oldData - null
newData -
JsonObject
eventData
public static final Session.events featuresUpdated
public static Session.events[] values()
for (Session.events c : Session.events.values()) System.out.println(c);
public static Session.events valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null