EventEmitterWrapper

class EventEmitterWrapper : HybridClassBase

This class holds reference to the C++ EventEmitter object. Instances of this class are created in FabricMountingManager.cpp, where the pointer to the C++ event emitter is set.

Functions

Link copied to clipboard
Link copied to clipboard
fun dispatch(eventName: String, params: WritableMap?, eventCategory: Int)

Invokes the execution of the C++ EventEmitter.

Link copied to clipboard
Link copied to clipboard
fun dispatchUnique(eventName: String, params: WritableMap?)

Invokes the execution of the C++ EventEmitter. C++ will coalesce events sent to the same target.

Link copied to clipboard
open fun isValid(): Boolean
Link copied to clipboard
open fun resetNative()