MidiInput class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- MidiPort
- MidiInput
- Annotations
- @DocsEditable()
- @DomName('MIDIInput')
- @Experimental()
Constants
- midiMessageEvent → EventStreamProvider<MidiMessageEvent> @DocsEditable(), @DomName('MIDIInput.midimessageEvent')
-
Static factory designed to expose
midimessage
events to event handlers that are not necessarily instances of MidiInput.const EventStreamProvider<MidiMessageEvent>
('midimessage')
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
Properties
- onMidiMessage → Stream<MidiMessageEvent> @DocsEditable(), @DomName('MIDIInput.onmidimessage'), read-only
-
Stream of
midimessage
events handled by thisMidiInput
. - connection → String @DocsEditable(), @DomName('MIDIPort.connection'), @Experimental(), read-only, inherited
- hashCode → int read-only, inherited
- id → String @DocsEditable(), @DomName('MIDIPort.id'), read-only, inherited
- manufacturer → String @DocsEditable(), @DomName('MIDIPort.manufacturer'), read-only, inherited
- name → String @DocsEditable(), @DomName('MIDIPort.name'), read-only, inherited
- on → Events 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.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
- state → String @DocsEditable(), @DomName('MIDIPort.state'), @Experimental(), read-only, inherited
- type → String @DocsEditable(), @DomName('MIDIPort.type'), read-only, inherited
- version → String @DocsEditable(), @DomName('MIDIPort.version'), read-only, inherited
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited - close(
) → Future @DocsEditable(), @DomName('MIDIPort.close'), @Experimental(), inherited - dispatchEvent(
Event event) → bool @DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited - noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
- open(
) → Future @DocsEditable(), @DomName('MIDIPort.open'), @Experimental(), inherited - removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited - toString(
) → String inherited -
Returns the result of the JavaScript objects
toString
method.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/MidiInput-class.html