public class ScrollEvent extends Event<ScrollEvent>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EVENT_NAME |
| Constructor and Description |
|---|
ScrollEvent(int viewTag,
long timestampMs,
int scrollX,
int scrollY,
int contentWidth,
int contentHeight,
int scrollViewWidth,
int scrollViewHeight) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(RCTEventEmitter rctEventEmitter)
Dispatch this event to JS using the given event emitter.
|
short |
getCoalescingKey() |
java.lang.String |
getEventName() |
canCoalesce, coalesce, dispose, getTimestampMs, getViewTagpublic static final java.lang.String EVENT_NAME
public ScrollEvent(int viewTag,
long timestampMs,
int scrollX,
int scrollY,
int contentWidth,
int contentHeight,
int scrollViewWidth,
int scrollViewHeight)
public java.lang.String getEventName()
getEventName in class Event<ScrollEvent>public short getCoalescingKey()
getCoalescingKey in class Event<ScrollEvent>public void dispatch(RCTEventEmitter rctEventEmitter)
Eventdispatch in class Event<ScrollEvent>