All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsMain.web.midi.MIDIPort.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package web.midi

import web.events.Event
import web.events.EventHandler
import web.events.EventTarget
import kotlin.js.Promise

sealed external class MIDIPort :
    EventTarget {
    val connection: MIDIPortConnectionState
    val id: String
    val manufacturer: String?
    val name: String?
    var onstatechange: EventHandler?
    val state: MIDIPortDeviceState
    val type: MIDIPortType
    val version: String?
    fun close(): Promise
    fun open(): Promise
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy