MIDIPort class
Available only in secure contexts.
- Implemented types
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- MIDIPort()
-
factory
Properties
- addEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair -
addEventListener
→ ({void Function<
K$>(MIDIPortEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on MIDIPort, provided by the MIDIPort$Typings extension
Overload accessor: $1, $2no setter -
close
↔ Future<
MIDIPort> Function() -
Available on MIDIPort, provided by the MIDIPort$Typings extension
getter/setter pair - connection → MIDIPortConnectionState
-
Available on MIDIPort, provided by the MIDIPort$Typings extension
MDN Referenceno setter - dispatchEvent ↔ bool Function(Event)
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Available on MIDIPort, provided by the MIDIPort$Typings extension
MDN Referenceno setter - manufacturer → String?
-
Available on MIDIPort, provided by the MIDIPort$Typings extension
MDN Referenceno setter - name → String?
-
Available on MIDIPort, provided by the MIDIPort$Typings extension
MDN Referenceno setter - onstatechange ↔ dynamic Function(Event)?
-
Available on MIDIPort, provided by the MIDIPort$Typings extension
MDN Referencegetter/setter pair -
open
↔ Future<
MIDIPort> Function() -
Available on MIDIPort, provided by the MIDIPort$Typings extension
getter/setter pair - removeEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair -
removeEventListener
→ ({void Function<
K$>(MIDIPortEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on MIDIPort, provided by the MIDIPort$Typings extension
Overload accessor: $1, $2no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → MIDIPortDeviceState
-
Available on MIDIPort, provided by the MIDIPort$Typings extension
MDN Referenceno setter - type → MIDIPortType
-
Available on MIDIPort, provided by the MIDIPort$Typings extension
MDN Referenceno setter - version → String?
-
Available on MIDIPort, provided by the MIDIPort$Typings extension
MDN Referenceno setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited