receiveEvent

abstract fun receiveEvent(surfaceId: Int, reactTag: Int, eventName: String, event: WritableMap?)

This method dispatches events from RN Android code to JS. The delivery of this event will not be queued in EventDispatcher class.

Parameters

surfaceId
reactTag

tag

eventName

name of the event

event

parameters


abstract fun receiveEvent(reactTag: Int, eventName: String, event: WritableMap?)

Deprecated

Replace with

receiveEvent(surfaceId, reactTag, eventName, event)

This method dispatches events from RN Android code to JS. The delivery of this event will not be queued in EventDispatcher class.

Parameters

reactTag

tag

eventName

name of the event

event

parameters