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.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<MIDIConnectionEvent>, init: MIDIConnectionEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The port read-only property of the MIDIConnectionEvent interface returns the port that has been disconnected or connected.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val type: EventType<MIDIConnectionEvent>

Functions

Link copied to clipboard
open override fun asInit(): MIDIConnectionEventInit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard