adbssi
v1.0.1
Published
ADB shell screencap interface
Downloads
8
Maintainers
Readme
adbssi
Install
npm install -g adbssi
Usage
adbssi screenshot.png
Module
import ADBssi from "adbssi"
/* valid ext
.png | .jpg | .gif
*/
const filename = "screenshot.png"
/* valid type
usb | tcp | auto
*/
const connectionType = "usb"
ADBssi(filename, connectionType)
.then((savedFilePath) => {
/* savedFilePath */
})
.catch((errorTag) => {
/* errorTag */
})