MIDIPort
The MIDIPort interface of the Web MIDI API represents a MIDI input or output port. Available only in secure contexts.
Inheritors
Properties
Link copied to clipboard
The connection read-only property of the MIDIPort interface returns the connection state of the port.
Link copied to clipboard
The manufacturer read-only property of the MIDIPort interface returns the manufacturer of the port.
Link copied to clipboard
Link copied to clipboard
The state read-only property of the MIDIPort interface returns the state of the port.
Link copied to clipboard
The type read-only property of the MIDIPort interface returns the type of the port, indicating whether this is an input or output MIDI port.
Functions
Link copied to clipboard
The close() method of the MIDIPort interface makes the access to the MIDI device connected to this MIDIPort unavailable.
Link copied to clipboard
Link copied to clipboard
external fun <T : Event> when(type: EventType<T>, options: ObservableEventListenerOptions?): Observable<T>