MidiCommand class

Constructors

MidiCommand.new()
factory

Properties

devices Future<List<MidiDevice>?>
Gets a list of available MIDI devices and returns it
no setter
hashCode int
The hash code for this object.
no setterinherited
isNetworkSessionEnabled Future<bool?>
no setter
onMidiDataReceived Stream<MidiPacket>?
Stream firing events whenever a midi package is received
no setter
onMidiDataSent Stream<Uint8List>
Stream firing events whenever a midi package is sent
no setter
onMidiSetupChanged Stream<String>?
Stream firing events whenever a change in the MIDI setup occurs
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addVirtualDevice({String? name}) → void
connectToDevice(MidiDevice device) Future<void>
Connects to the device
disconnectDevice(MidiDevice device) → void
Disconnects from the device
dispose() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeVirtualDevice({String? name}) → void
sendData(Uint8List data, {String? deviceId, int? timestamp}) → void
Sends data to the currently connected device
setNetworkSessionEnabled(bool enabled) → void
teardown() → void
Disconnects from all devices
toString() String
A string representation of this object.
inherited

Operators

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