Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AutoJs

Hierarchy

  • AutoJs

Index

Properties

androidContext

androidContext: Context

java

java: Java

raw APIs for Java interop. Recommended to use java and rhino modules instead.

properties

properties: ReadonlyMap<string, any>

Methods

cancelKeepRunning

  • cancelKeepRunning(id: number): any
  • Cancel the keep running.

    see

    keepRunning

    Parameters

    • id: number

      The id returned by keepRunning()

    Returns any

keepRunning

  • keepRunning(): number
  • Keep the engine running, preventing Node.js event loop to exit. Return an id to cancel it. If there are multiple keepRunning calls, only when all of them are cancelled, the keep running will be cancelled.

    Returns number

    id, to cancel the keep running.

requireAutoJsVersion

  • requireAutoJsVersion(version: string): any
  • Require the specified Auto.js Pro version to run, if the current version is lower than the specified version, throw an exception.

    Parameters

    • version: string

      Auto.js Pro version, like "Pro 9.1.0-2"

    Returns any