StateWrapperImpl

open class StateWrapperImpl : HybridClassBase, StateWrapper

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

Functions

Link copied to clipboard
open fun destroyState()
Mark state as unused and clean up in Java and in native.
Link copied to clipboard
Get a ReadableNativeMap object from the C++ layer, which is a K/V map of string keys to values.
Link copied to clipboard
Get a ReadableMapBuffer object from the C++ layer, which is a K/V map of short keys to values.
Link copied to clipboard
open fun isValid(): Boolean
Link copied to clipboard
open fun resetNative()
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
Pass a map of values back to the C++ layer.
Link copied to clipboard