public class StateWrapperImpl extends java.lang.Object implements 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)
Pass a map of values back to the C++ layer.
|
void |
updateStateImpl(NativeMap map) |
public ReadableNativeMap getState()
StateWrapper
getState
in interface StateWrapper
public void updateStateImpl(NativeMap map)
public void updateState(WritableMap map)
StateWrapper
updateState
in interface StateWrapper