@u4/adbkit
Version:
A Typescript client for the Android Debug Bridge.
15 lines • 572 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __importDefault(require("../../command"));
class GetStateCommand extends command_1.default {
async execute(serial) {
await this._send(`host-serial:${serial}:get-state`);
await this.readOKAY();
return this.parser.readValue('utf8');
}
}
exports.default = GetStateCommand;
//# sourceMappingURL=getstate.js.map