Class ServiceCallCommand

service call SERVICE CODE [i32 N | i64 N | f N | d N | s16 STR | null | fd f | nfd n | afd f ] ...

Hierarchy

Constructors

Properties

connection: Connection
options: Partial<DeviceClientOptions>

Accessors

  • get lastCommand(): string
  • Returns string

Methods

  • encode message and send it to ADB socket

    Returns

    byte write count

    Parameters

    • data: string

    Returns Promise<number>

  • most common action: read for Okey

    Returns Promise<void>

  • called once per command, only affect shell based command.

    Returns

    sent data

    Parameters

    • data: string

    Returns Promise<string>

Generated using TypeDoc