MidiPlatform class abstract
The interface that implementations of url_launcher must implement.
Platform implementations should extend this class rather than implement it as midi
does not consider newly added methods to be breaking changes. Extending this class
(using extends
) ensures that the subclass will get the default implementation, while
platform implementations that implements
this interface will be broken by newly added
MidiPlatform methods.
- Inheritance
-
- Object
- PlatformInterface
- MidiPlatform
- Implementers
Constructors
- MidiPlatform()
- Constructs a UrlLauncherPlatform.
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
-
closeDestination(
String id) → Future< void> -
closeSource(
String id) → Future< void> -
deviceEvents(
) → Stream -
getDestinations(
) → Future< List< Map> ?> -
getSources(
) → Future< List< Map> ?> -
midiMessages(
) → Stream -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openDestination(
String id) → Future< void> -
openSource(
String id) → Future< void> -
send(
String id, Uint8List message) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ MidiPlatform
-
The default instance of MidiPlatform to use.
getter/setter pair