Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RootAutomatorOptions

Create RootAutomator options, including whether to use root permission, adb permission, or explicit input device.

see

createRootAutomator

Hierarchy

Index

Properties

Optional adb

adb: boolean

Whether to use adb shell (currently implemented as Shizuku).

Optional env

env: ProcessEnv

Environment variables, e.g. {PATH: "/data/local/tmp"}.

Optional inputDevice

inputDevice: string

Input device path, such as /dev/input/event5.

Optional orientationAware

orientationAware: boolean

Whether to automatically switch the coordinate system according to the screen orientation. If true, the coordinates will be relative to the top-left corner of the horizontal screen in landscape orientation; if false, the behavior is consistent with the Rhino API's RootAutomator. Defaults to true.

Optional root

root: boolean

Whether to use root permission.