public class CordovaBridge
extends java.lang.Object
Constructor and Description |
---|
CordovaBridge(PluginManager pluginManager,
NativeToJsMessageQueue jsMessageQueue) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSecretEstablished() |
java.lang.String |
jsExec(int bridgeSecret,
java.lang.String service,
java.lang.String action,
java.lang.String callbackId,
java.lang.String arguments) |
java.lang.String |
jsRetrieveJsMessages(int bridgeSecret,
boolean fromOnlineEvent) |
void |
jsSetNativeToJsBridgeMode(int bridgeSecret,
int value) |
java.lang.String |
promptOnJsPrompt(java.lang.String origin,
java.lang.String message,
java.lang.String defaultValue) |
void |
reset() |
public CordovaBridge(PluginManager pluginManager, NativeToJsMessageQueue jsMessageQueue)
public java.lang.String jsExec(int bridgeSecret, java.lang.String service, java.lang.String action, java.lang.String callbackId, java.lang.String arguments) throws org.json.JSONException, java.lang.IllegalAccessException
org.json.JSONException
java.lang.IllegalAccessException
public void jsSetNativeToJsBridgeMode(int bridgeSecret, int value) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public java.lang.String jsRetrieveJsMessages(int bridgeSecret, boolean fromOnlineEvent) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public boolean isSecretEstablished()
public void reset()
public java.lang.String promptOnJsPrompt(java.lang.String origin, java.lang.String message, java.lang.String defaultValue)