Class DeviceClientExtra

Hierarchy

  • DeviceClientExtra

Constructors

Properties

deviceClient: DeviceClient

Methods

  • rootless version of enable air plain mode Depends of phone language will fail with non latin language.

    Parameters

    • enable: boolean

      expected final stat for airplain mode

    • Optional twiceMs: number

      if > 0 will switch airplan mode 2 time to match expected state

    Returns Promise<boolean>

  • enable / disable type: bluetooth / data/ wifi

    Parameters

    • type: "data" | "wifi" | "bluetooth"
    • enable: boolean

    Returns Promise<string>

  • Tap on screen

    Returns

    Parameters

    • x1: string
    • y1: string

    Returns Promise<string>

  • rootless version of enable usb tethering Depends of phone language will fail with non latin language.

    Parameters

    • enable: boolean

    Returns Promise<boolean>

Generated using TypeDoc