-
public class ReactSliderEvent extends Event<ReactSliderEvent>
Event emitted by a ReactSliderManager when user changes slider position.
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
EVENT_NAME
-
Constructor Summary
Constructors Constructor Description ReactSliderEvent(int viewId, double value, boolean fromUser)
-
Method Summary
Modifier and Type Method Description double
getValue()
boolean
isFromUser()
String
getEventName()
void
dispatch(RCTEventEmitter rctEventEmitter)
Dispatch this event to JS using the given event emitter. -
Methods inherited from class com.facebook.react.uimanager.events.Event
canCoalesce, coalesce, dispatchModern, getCoalescingKey, getSurfaceId, getTimestampMs, getUIManagerType, getUniqueID, getViewTag, onDispose
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getValue
double getValue()
-
isFromUser
boolean isFromUser()
-
getEventName
String getEventName()
-
dispatch
void dispatch(RCTEventEmitter rctEventEmitter)
Dispatch this event to JS using the given event emitter. Compatible with old and new renderer.Instead of using this or dispatchModern, it is recommended that you simply override`getEventData`.
-
-
-
-