weexteam/weex_devtools_android

View on GitHub
inspector/debug.json

Summary

Maintainability
Test Coverage
{
  "domain":"WxDebug",
  "types":[{
    "id": "task",
    "type": "object",
    "properties": [
      { "name": "module", "type": "string"},
      { "name": "method", "type": "string"},
      { "name": "args", "type": "array"}
    ]
  }],
  "commands":[{
    "name":"callJS",
    "parameters":[
      { "name": "method", "type": "string"},
      { "name": "args"," type": "array"}
    ]
  },{
    "name":"callNative",
    "parameters":[
      { "name": "instance", "type":"string"},
      { "name": "callback", "type":"string"},
      { "name": "tasks", "type": "array", "items": { "$ref":"task"}}
    ]
  },{
    "name":"reload"
  },{
    "name":"registerDevice",
    "parameters":[
      { "name": "name", "type":"string"},
      { "name": "model", "type":"string"},
      { "name": "weexVersion", "type": "string"},
      { "name": "platform", "type":"string"},
      { "name": "deviceId", "type":"string"}
    ]
  }]
}