MidiPort class abstract

Base class for Midi ports

Implementers

Constructors

MidiPort(String id, {String? manufacturer, String? name, MidiPortType? type, String? version, int? number})

Properties

connection Stream<MidiPortConnectionState>
Stream for listening to MidiPortConnectionState changes
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of this midi device
final
manufacturer String?
The manufacturer
final
name String?
The displayable name of the device
final
number int?
Port number
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state Stream<MidiPortDeviceState>
Stream for listening to MidiPortDeviceState changes
no setter
type MidiPortType?
Whether this is an input or output port
final
version String?
Device firmware version
final

Methods

close() Future<void>
Close this MidiPort
dispose() → void
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
toString() String
A string representation of this object.
inherited

Operators

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