メインコンテンツまでスキップ

Type Alias: MIDIAccessState

type MIDIAccessState = object;

Defined in: dom/src/midi/access.ts:27

Properties​

error​

readonly error: MIDIAccessError | null;

Defined in: dom/src/midi/access.ts:29


inputs​

readonly inputs: readonly MIDIInput[];

Defined in: dom/src/midi/access.ts:36

The inputs currently connected, in the order MIDIAccess lists them.

Kept up to date as devices are plugged in and unplugged, so a UI listing the devices does not have to watch statechange itself.


midiAccess​

readonly midiAccess: MIDIAccess | null;

Defined in: dom/src/midi/access.ts:28