MidiInput class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('MIDIInput')
  • @Experimental()

Constants

midiMessageEventEventStreamProvider<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

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

MidiInput.internal_()

Properties

onMidiMessageStream<MidiMessageEvent>
@DocsEditable(), @DomName('MIDIInput.onmidimessage'), read-only

Stream of midimessage events handled by this MidiInput.

connectionString
@DocsEditable(), @DomName('MIDIPort.connection'), @Experimental(), read-only, inherited
hashCodeint
read-only, inherited
idString
@DocsEditable(), @DomName('MIDIPort.id'), read-only, inherited
manufacturerString
@DocsEditable(), @DomName('MIDIPort.manufacturer'), read-only, inherited
nameString
@DocsEditable(), @DomName('MIDIPort.name'), read-only, inherited
onEvents
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.

runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

stateString
@DocsEditable(), @DomName('MIDIPort.state'), @Experimental(), read-only, inherited
typeString
@DocsEditable(), @DomName('MIDIPort.type'), read-only, inherited
versionString
@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