Dart SDK
dart:html
MidiInput
class
MidiInput
Constants
Properties
Constants
midiMessageEvent
Properties
onMidiMessage
on
id
manufacturer
name
type
version
onDisconnect
Methods
addEventListener
removeEventListener
dispatchEvent
(Not documented.)
Annotations
DocsEditable()
DomName('MIDIInput')
Experimental()
Extends
Object
EventTarget
MidiPort
MidiInput
Constants
EventStreamProvider
<
MidiMessageEvent
>
midiMessageEvent
=
const
EventStreamProvider
<
MidiMessageEvent
>
('midimessage')
const
Static factory designed to expose midimessage events to event handlers that are not necessarily instances of
MidiInput
.
Properties
Stream
<
MidiMessageEvent
>
onMidiMessage
read-only
Stream of midimessage events handled by this [MidiInput].
Events
on
read-only ,
inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
String
id
read-only ,
inherited
String
manufacturer
read-only ,
inherited
String
name
read-only ,
inherited
String
type
read-only ,
inherited
String
version
read-only ,
inherited
Stream
<
MidiConnectionEvent
>
onDisconnect
read-only ,
inherited
Stream of disconnect events handled by this [MidiPort].
Methods
addEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
removeEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
dispatchEvent
(
Event
event
) →
bool
inherited