public interface StateWrapper
Modifier and Type | Method and Description |
---|---|
ReadableNativeMap |
getState()
Get a ReadableNativeMap object from the C++ layer, which is a K/V map of string keys to values.
|
void |
updateState(WritableMap map,
java.lang.Runnable failureCallback)
Pass a map of values back to the C++ layer.
|
ReadableNativeMap getState()
void updateState(WritableMap map, java.lang.Runnable failureCallback)