public class ReactBridgeHelper
extends java.lang.Object
Constructor and Description |
---|
ReactBridgeHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
invoke(Callback callback,
boolean value) |
static void |
invoke(Callback callback,
int value) |
static void |
invoke(Callback callback,
JSONArray json) |
static void |
invoke(Callback callback,
JSONObject json) |
static void |
invoke(Callback callback,
java.lang.String value) |
static java.util.List<java.lang.Object> |
toJavaList(ReadableArray array) |
static java.util.Map<java.lang.String,java.lang.Object> |
toJavaMap(ReadableMap map) |
static java.util.List<java.lang.String> |
toJavaStringList(ReadableArray array) |
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
toJavaStringMapMap(ReadableMap map) |
static java.util.Map<java.lang.String,java.lang.String> |
toJavaStringStringMap(ReadableMap map) |
public static void invoke(Callback callback, JSONObject json)
public static void invoke(Callback callback, JSONArray json)
public static void invoke(Callback callback, java.lang.String value)
public static void invoke(Callback callback, boolean value)
public static void invoke(Callback callback, int value)
public static java.util.Map<java.lang.String,java.lang.Object> toJavaMap(ReadableMap map)
public static java.util.Map<java.lang.String,java.lang.String> toJavaStringStringMap(ReadableMap map)
public static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> toJavaStringMapMap(ReadableMap map)
public static java.util.List<java.lang.String> toJavaStringList(ReadableArray array)
public static java.util.List<java.lang.Object> toJavaList(ReadableArray array)