MIDIInput class
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the Web MIDI API receives messages from a MIDI input port.
EventTarget
MIDIPort
MIDIInput
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- MIDIInput()
-
factory
Properties
- connection → MIDIPortConnectionState
-
Available on MIDIPort, provided by the PropsMIDIPort extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Available on MIDIPort, provided by the PropsMIDIPort extension
no setter - manufacturer → String?
-
Available on MIDIPort, provided by the PropsMIDIPort extension
no setter - name → String?
-
Available on MIDIPort, provided by the PropsMIDIPort extension
no setter -
onmidimessage
↔ EventHandlerNonNull<
Event> ? -
Available on MIDIInput, provided by the PropsMIDIInput extension
getter/setter pair -
onstatechange
↔ EventHandlerNonNull<
Event> ? -
Available on MIDIPort, provided by the PropsMIDIPort extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → MIDIPortDeviceState
-
Available on MIDIPort, provided by the PropsMIDIPort extension
no setter - type → MIDIPortType
-
Available on MIDIPort, provided by the PropsMIDIPort extension
no setter - version → String?
-
Available on MIDIPort, provided by the PropsMIDIPort extension
no setter
Methods
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
close(
) → Future< MIDIPort> -
Available on MIDIPort, provided by the PropsMIDIPort extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< MIDIPort> -
Available on MIDIPort, provided by the PropsMIDIPort extension
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited