public static enum ChangeEventListener.EventType extends java.lang.Enum<ChangeEventListener.EventType>
| Enum Constant and Description |
|---|
ADDED
An onChildAdded event was received.
|
CHANGED
An onChildChanged event was received.
|
MOVED
An onChildMoved event was received.
|
REMOVED
An onChildRemoved event was received.
|
| Modifier and Type | Method and Description |
|---|---|
static ChangeEventListener.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeEventListener.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeEventListener.EventType ADDED
ChildEventListener#onChildAdded(DataSnapshot, String)public static final ChangeEventListener.EventType CHANGED
ChildEventListener#onChildChanged(DataSnapshot, String)public static final ChangeEventListener.EventType REMOVED
ChildEventListener#onChildRemoved(DataSnapshot)public static final ChangeEventListener.EventType MOVED
ChildEventListener#onChildMoved(DataSnapshot, String)public static ChangeEventListener.EventType[] values()
for (ChangeEventListener.EventType c : ChangeEventListener.EventType.values()) System.out.println(c);
public static ChangeEventListener.EventType 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