MIDIConnectionEvent
open class MIDIConnectionEvent(val type: EventType<MIDIConnectionEvent>, init: MIDIConnectionEventInit = definedExternally) : Event(source)
The MIDIConnectionEvent
interface of the Web MIDI API is the event passed to the MIDIAccess.statechange_event event of the MIDIAccess interface and the MIDIPort.statechange_event event of the MIDIPort interface. Available only in secure contexts.
Constructors
Link copied to clipboard
constructor(type: EventType<MIDIConnectionEvent>, init: MIDIConnectionEventInit = definedExternally)