Title

Global

Members

# constant USER_ACTION_MAP

User-friendly action strings for factory image flashing progress. This can be indexed by the action argument in FactoryFlashCallback.

View Source factory.js, line 22

Methods

# setDebugLevel(level)

Change the debug level for the fastboot client: - 0 = silent - 1 = debug, recommended for general use - 2 = verbose, for debugging only
Parameters:
Name Type Description
level number Debug level to use.

View Source common.js, line 23

Type Definitions

# FactoryFlashCallback(action, item, progress)

Callback for factory image flashing progress.
Parameters:
Name Type Description
action string Action in the flashing process, e.g. unpack/flash.
item string Item processed by the action, e.g. partition being flashed.
progress number Progress within the current action between 0 and 1.

View Source fastboot.js, line 551

# ProgressCallback(progress)

Callback for progress updates while flashing or uploading an image.
Parameters:
Name Type Description
progress number Progress for the current action, between 0 and 1.

View Source fastboot.js, line 363

# ReconnectCallback()

Callback for reconnecting to the USB device. This is necessary because some platforms do not support automatic reconnection, and USB connection requests can only be triggered as the result of explicit user action.

View Source fastboot.js, line 151

# ReconnectCallback()

Callback for reconnecting the USB device. This is necessary because some platforms do not support automatic reconnection, and USB connection requests can only be triggered as the result of explicit user action.

View Source fastboot.js, line 542