dart / 2 / dart-html / midiinput-class.html

MidiInput class

Inheritance
Annotations
  • @Native("MIDIInput")

Properties

connection → String?
read-only, inherited
hashCode → int
read-only, inherited
The hash code for this object.
id → String?
read-only, inherited
manufacturer → String?
read-only, inherited
name → String?
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.
onMidiMessage → Stream<MidiMessageEvent>
read-only
Stream of midimessage events handled by this MidiInput.
runtimeType → Type
read-only, inherited
A representation of the runtime type of the object.
state → String?
read-only, inherited
type → String?
read-only, inherited
version → String?
read-only, inherited

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
close() → Future
inherited
dispatchEvent(Event event) → bool
inherited
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed.
open() → Future
inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
toString() → String
inherited
A string representation of this object.

Operators

operator ==(Object other) → bool
inherited
The equality operator.

Constants

midiMessageEvent → const EventStreamProvider<MidiMessageEvent>
Static factory designed to expose midimessage events to event handlers that are not necessarily instances of MidiInput.
const EventStreamProvider<MidiMessageEvent>('midimessage')

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/MidiInput-class.html