Package Exports
- appium-sdb
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (appium-sdb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
appium-sdb
A wrapper over tizen-sdb, implemented using ES6 and along with async/await. This package is mainly used by Appium to perform all sdb operations on tizen device.
Usage:
example:
import SDB, { DEFAULT_SDB_PORT } from 'appium-sdb';
let sdb = new SDB();
const opts = {
sdkRoot: null,
udid: null,
executable: {path: 'sdb', defaultArgs: []},
curDeviceId: null,
emulatorPort: null,
binaries: {},
suppressKillServer: null,
sdbPort: DEFAULT_SDB_PORT
};
let sdb2 = await SDB.createSDB(opts);
console.log(await sdb.getConnectedDevices());List of methods:
createSDBgetSdbWithCorrectSdbPathgetSdbVersiongetSdbPathisDeviceConnectedmkdirisValidClassforceStoprimrafpushpullprocessExistsforwardPortremovePortForwardpingrestartgetSdkBinaryPathConnectDevicegetCommandForOSgetConnectedDevicesgetDeviceStatusgetDevicesWithRetrygetConnectedEmulatorsgetPortFromEmulatorStringrestartSdbsdbExecshellsetEmulatorPortsetDeviceIdrebootfileExistsisAppInstalledstartAppuninstallinstallFromDevicePathinstallrootunroottakeScreenShotstartExeccheckProcessStatuskillProcess