MidiPacket class

One MIDI message received from a device.

Constructors

MidiPacket(Uint8List data, int timestamp, MidiDevice device)

Properties

data ↔ Uint8List
Exactly one complete MIDI message, with all transport framing removed.
getter/setter pair
device ↔ MidiDevice
The device the message came from.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp ↔ int
When the message arrived, in whatever clock the originating transport reports. BLE MIDI carries the 13-bit millisecond timestamp of the MMA specification; other transports may report 0.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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