public static enum ReactChoreographer.CallbackType extends java.lang.Enum<ReactChoreographer.CallbackType>
| Enum Constant and Description |
|---|
DISPATCH_UI
For use by
UIManagerModule |
IDLE_EVENT
Event used to trigger the idle callback.
|
NATIVE_ANIMATED_MODULE
For use by
NativeAnimatedModule |
PERF_MARKERS
For use by perf markers that need to happen immediately after draw
|
TIMERS_EVENTS
Events that make JS do things.
|
| Modifier and Type | Method and Description |
|---|---|
static ReactChoreographer.CallbackType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReactChoreographer.CallbackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReactChoreographer.CallbackType PERF_MARKERS
public static final ReactChoreographer.CallbackType DISPATCH_UI
UIManagerModulepublic static final ReactChoreographer.CallbackType NATIVE_ANIMATED_MODULE
NativeAnimatedModulepublic static final ReactChoreographer.CallbackType TIMERS_EVENTS
public static final ReactChoreographer.CallbackType IDLE_EVENT
public static ReactChoreographer.CallbackType[] values()
for (ReactChoreographer.CallbackType c : ReactChoreographer.CallbackType.values()) System.out.println(c);
public static ReactChoreographer.CallbackType 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