receive
  This method dispatches events from RN Android code to JS. The delivery of this event will not be queued in EventDispatcher class.
Parameters
react
tag
event
name of the event
event
parameters
open fun receiveEvent(surfaceId: Int, reactTag: Int, eventName: String, @Nullable params: WritableMap)
This method dispatches events from RN Android code to JS. The delivery of this event will not be queued in EventDispatcher class.
Parameters
surface
react
tag
event
name of the event
event
parameters
open fun receiveEvent(surfaceId: Int, reactTag: Int, eventName: String, canCoalesceEvent: Boolean, @Nullable params: WritableMap, eventCategory: Int)
receiveEvent API that emits an event to C++. If `canCoalesceEvent` is true, that signals that C++ may coalesce the event optionally. Otherwise, coalescing can happen in Java before emitting.
`customCoalesceKey` is currently unused.
Parameters
surface
react
event
can
params
event
open fun receiveEvent(surfaceId: Int, reactTag: Int, @NonNull eventName: String, canCoalesceEvent: Boolean, @Nullable params: WritableMap, eventCategory: Int, experimentalIsSynchronous: Boolean)