receiveEvent

open fun receiveEvent(reactTag: Int, eventName: String, @Nullable 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

reactTag

tag

eventName

name of the event

event

parameters


open fun receiveEvent(surfaceId: Int, reactTag: Int, eventName: String, @Nullable 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