MethodChannelAndroidMidi class

An implementation of AndroidMidiPlatform that uses method channels.

Inheritance

Constructors

MethodChannelAndroidMidi()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeMidiDevice(int handle) Future<void>
override
getApiLevel() Future<int?>
override
getPlatformVersion() Future<String?>
override
listDevices() Future<List<MidiDevice>>
Returns a list of available MIDI devices as model objects.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openMidiDevice(MidiDevice device, MidiPort port) Future<int?>
Opens a MIDI device and port. Throws if invalid.
override
receiveMidi(int handle) Future<Uint8List?>
override
sendNoteOff(int handle, int channel, int note, int velocity) Future<void>
override
sendNoteOn(int handle, int channel, int note, int velocity) Future<void>
override
sendRawData(int handle, List<int> data) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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