public class Runtime extends java.lang.Object implements ChromeDevtoolsDomain
| Modifier and Type | Class and Description |
|---|---|
static class |
Runtime.ObjectSubType |
static class |
Runtime.ObjectType |
static class |
Runtime.RemoteObject |
| Constructor and Description |
|---|
Runtime()
Deprecated.
Provided for ABI compatibility
|
Runtime(android.content.Context context)
Deprecated.
This was a transitionary API that was replaced by
Stetho.DefaultInspectorModulesBuilder.runtimeRepl(com.facebook.stetho.inspector.console.RuntimeReplFactory) |
Runtime(RuntimeReplFactory replFactory) |
| Modifier and Type | Method and Description |
|---|---|
com.facebook.stetho.inspector.protocol.module.Runtime.CallFunctionOnResponse |
callFunctionOn(JsonRpcPeer peer,
org.json.JSONObject params) |
JsonRpcResult |
evaluate(JsonRpcPeer peer,
org.json.JSONObject params) |
JsonRpcResult |
getProperties(JsonRpcPeer peer,
org.json.JSONObject params) |
static int |
mapObject(JsonRpcPeer peer,
java.lang.Object object) |
void |
releaseObject(JsonRpcPeer peer,
org.json.JSONObject params) |
void |
releaseObjectGroup(JsonRpcPeer peer,
org.json.JSONObject params) |
@Deprecated public Runtime()
Runtime(RuntimeReplFactory),
Stetho.DefaultInspectorModulesBuilder#runtimeRepl(RuntimeReplFactory)public Runtime(android.content.Context context)
Stetho.DefaultInspectorModulesBuilder.runtimeRepl(com.facebook.stetho.inspector.console.RuntimeReplFactory)public Runtime(RuntimeReplFactory replFactory)
public static int mapObject(JsonRpcPeer peer, java.lang.Object object)
public void releaseObject(JsonRpcPeer peer, org.json.JSONObject params) throws org.json.JSONException
org.json.JSONExceptionpublic void releaseObjectGroup(JsonRpcPeer peer, org.json.JSONObject params)
public com.facebook.stetho.inspector.protocol.module.Runtime.CallFunctionOnResponse callFunctionOn(JsonRpcPeer peer, org.json.JSONObject params) throws JsonRpcException
JsonRpcExceptionpublic JsonRpcResult evaluate(JsonRpcPeer peer, org.json.JSONObject params)
public JsonRpcResult getProperties(JsonRpcPeer peer, org.json.JSONObject params) throws JsonRpcException
JsonRpcException