1.0.1 ENABLE.develop

Namespace: develop

Functions for developer option.

Namespaces

adb_mode

Methods

static ENABLE.develop.generateBugReport () {Object}

Generate a bug report and store under /bugreports

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR

static ENABLE.develop.getADBMode () {Object}

Get adb developer mode

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
result Number one of ENABLE.develop.adb_mode.ON , ENABLE.develop.adb_mode.OFF or ENABLE.develop.adb_mode.DISABLE
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR

static ENABLE.develop.setADBMode (mode) {Object}

Set adb developer mode

Name Type Description
mode Number

one of ENABLE.develop.adb_mode.ON , ENABLE.develop.adb_mode.OFF or ENABLE.develop.adb_mode.DISABLE

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR or
ENABLE.status.INVALID_ARGUMENT