Interface Button

Represents a physical button.

interface Button {
    push: ((extra?) => Promise<void>);
    doCommand(command): Promise<JsonValue>;
}

Hierarchy (view full)

Implemented by

Properties

Methods

Properties

push: ((extra?) => Promise<void>)

Push the button.

Type declaration

    • (extra?): Promise<void>
    • Parameters

      Returns Promise<void>

Methods