PointerEvent

open class PointerEvent : Event<T>

Types

Link copied to clipboard

Functions

Link copied to clipboard
open fun canCoalesce(): Boolean
Link copied to clipboard
open fun coalesce(otherEvent: T): T
Given two events, coalesce them into a single event that will be sent to JS instead of two separate events.
Link copied to clipboard
open fun dispatch(rctEventEmitter: RCTEventEmitter)
Dispatch this event to JS using the given event emitter.
Link copied to clipboard
open fun dispatchModern(rctEventEmitter: RCTModernEventEmitter)
Dispatch this event to JS using a V2 EventEmitter.
Link copied to clipboard
Link copied to clipboard
open fun getEventName(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getUniqueID(): Int
Link copied to clipboard
Link copied to clipboard
open fun obtain(eventName: String, targetTag: Int, eventState: PointerEvent.PointerEventState, motionEventToCopy: MotionEvent): PointerEvent
open fun obtain(eventName: String, targetTag: Int, eventState: PointerEvent.PointerEventState, motionEventToCopy: MotionEvent, coalescingKey: Short): PointerEvent
Link copied to clipboard
open fun onDispose()
Called when the EventDispatcher is done with an event, either because it was dispatched or because it was coalesced with another Event.