MidiSourcePort class
A MidiPort for reading data from.
Constructors
- MidiSourcePort(String id, {String? manufacturer, String? name, String? version})
Properties
-
connection
→ Stream<
MidiPortConnectionState> -
Stream for listening to
MidiPortConnectionState
changesno setterinherited - hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The ID of this midi device
finalinherited
- manufacturer → String?
-
The manufacturer
finalinherited
-
messages
→ Stream<
Uint8List> -
The stream of Midi messages originating from this source port.
no setter
- name → String?
-
The displayable name of the device
finalinherited
- number → int?
-
Port number
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Stream<
MidiPortDeviceState> -
Stream for listening to
MidiPortDeviceState
changesno setterinherited - type → MidiPortType?
-
Whether this is an input or output port
finalinherited
- version → String?
-
Device firmware version
finalinherited
Methods
-
close(
) → Future< void> -
Close this MidiPort
override
-
dispose(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< void> -
Attempt to open a connection to this MidiPort
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override