Constructor
new AdbWrapperFactory(pAdbPath)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
pAdbPath |
require('path').Path | Path to ADB binary |
Methods
(static) getInstance(pAdbPath) → {AdbWrapperFactory}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
pAdbPath |
require('path').Path | Path to ADB binary |
Returns:
AdbWrapper factory
- Type
- AdbWrapperFactory
isReady() → {Boolean}
- Source:
To check if ADB server is ready
Returns:
TRUE if ADB is reeady, else FALSE
- Type
- Boolean
newGenericWrapper() → {AdbWrapper}
- Source:
To create a generic AdbWrapper
Commands executed by this wrapper not contain device ID (-u / -s / -e)
Returns:
AdbWrapper instance
- Type
- AdbWrapper
newSpecificWrapper() → {AdbWrapper}
- Source:
To create a device-specific AdbWrapper
For each commands issued by this wrapper, the device ID is specified
Returns:
AdbWrapper instance
- Type
- AdbWrapper