AndroidMidiPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • AndroidMidiPlatform
Implementers

Constructors

AndroidMidiPlatform()
Constructs a AndroidMidiPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeMidiDevice(int handle) Future<void>
getApiLevel() Future<int?>
getPlatformVersion() Future<String?>
listDevices() Future<List<MidiDevice>>
Returns a list of available MIDI devices as model objects.
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.
receiveMidi(int handle) Future<Uint8List?>
sendNoteOff(int handle, int channel, int note, int velocity) Future<void>
sendNoteOn(int handle, int channel, int note, int velocity) Future<void>
sendRawData(int handle, List<int> data) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance AndroidMidiPlatform
The default instance of AndroidMidiPlatform to use.
getter/setter pair