AlsaMidiDevice class Null safety
Constructors
-
AlsaMidiDevice(Pointer<
snd_ctl_> ctl, int cardId, int deviceId, String name, String type, StreamController<MidiMessage> _rxStreamCtrl)
Properties
- cardId ↔ int
-
read / write
- connected ↔ bool
-
read / write
-
ctl
↔ Pointer<
snd_ctl_> -
read / write
- deviceId ↔ int
-
read / write
- errorPort ↔ ReceivePort?
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
inPort
↔ Pointer<
Pointer< ?snd_rawmidi_> > -
read / write
-
inputPorts
→ List<
String> -
read-only
- name ↔ String
-
read / write
-
outPort
↔ Pointer<
Pointer< ?snd_rawmidi_> > -
read / write
-
outputPorts
→ List<
String> -
read-only
-
receivedMessages
→ Stream<
MidiMessage> -
read-only
- receivePort ↔ ReceivePort?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
toDictionary
→ Map<
String, Object> -
read-only
- type ↔ String
-
read / write
Methods
-
connect(
) → Future< bool> -
disconnect(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
send(
Uint8List midiMessage) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
onDeviceDisconnected
→ Stream<
AlsaMidiDevice> -
read-only
Static Methods
-
getDevices(
) → List< AlsaMidiDevice> -
hardwareId(
int card, int device) → String