Interface Button

Represents a physical button.

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

Hierarchy (View Summary, Expand)

Implemented by

Properties

Methods

Properties

name: string

The name of the resource.

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

Push the button.

Methods

MMNEPVFCICPMFPCPTTAAATR