JvmMidiAccess

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val canCreateVirtualPort: Boolean = false
Link copied to clipboard
open val canDetectStateChanges: Boolean = false
Link copied to clipboard
open override val inputs: Iterable<MidiPortDetails>

List of MIDI input devices that application developers can receive inputs.

Link copied to clipboard
open override val name: String

The name of the MIDI access API (such as ALSA, WinMM, CoreMIDI) for application developers' convenience.

Link copied to clipboard
open override val outputs: Iterable<MidiPortDetails>

List of MIDI output devices that application developers can send outputs.

Link copied to clipboard
Link copied to clipboard
open val supportsUmpTransport: Boolean = false

Indicates whether it supports MIDI 2.0 UMP transports. It is useful when you compare multiple MidiAccess APIs and choose one that matches your need.

Functions

Link copied to clipboard
Link copied to clipboard
open suspend override fun createVirtualInputSender(context: PortCreatorContext): MidiOutput
Link copied to clipboard
open suspend override fun createVirtualOutputReceiver(context: PortCreatorContext): MidiInput
Link copied to clipboard
open suspend override fun openInput(portId: String): MidiInput
Link copied to clipboard
open suspend override fun openOutput(portId: String): MidiOutput