MIDIOutput 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 provides methods to add messages to the queue of an output device, and to clear the queue of messages.
EventTarget
MIDIPort
MIDIOutput
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- MIDIOutput()
-
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 -
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
-
clear(
) → void -
Available on MIDIOutput, provided by the PropsMIDIOutput 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
-
send(
Iterable< int> data, [double? timestamp = 0]) → void -
Available on MIDIOutput, provided by the PropsMIDIOutput extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited