Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The MIDIConnectionEvent()
constructor creates a new MIDIConnectionEvent
object. Typically this constructor is not used as events are created when a new port becomes available, and the object is passed to the statechange
event.