Dart SDK
dart:html
MidiAccess
class
MidiAccess
Constants
Properties
Constants
connectEvent
disconnectEvent
Properties
inputs
outputs
sysexEnabled
onConnect
onDisconnect
on
Methods
addEventListener
removeEventListener
dispatchEvent
(Not documented.)
Annotations
DocsEditable()
DomName('MIDIAccess')
Experimental()
Extends
Object
EventTarget
MidiAccess
Constants
EventStreamProvider
<
MidiConnectionEvent
>
connectEvent
=
const
EventStreamProvider
<
MidiConnectionEvent
>
('connect')
const
Static factory designed to expose connect events to event handlers that are not necessarily instances of
MidiAccess
.
EventStreamProvider
<
MidiConnectionEvent
>
disconnectEvent
=
const
EventStreamProvider
<
MidiConnectionEvent
>
('disconnect')
const
Static factory designed to expose disconnect events to event handlers that are not necessarily instances of
MidiAccess
.
Properties
MidiInputMap
inputs
read-only
MidiOutputMap
outputs
read-only
bool
sysexEnabled
read-only
Stream
<
MidiConnectionEvent
>
onConnect
read-only
Stream of connect events handled by this [MidiAccess].
Stream
<
MidiConnectionEvent
>
onDisconnect
read-only
Stream of disconnect events handled by this [MidiAccess].
Events
on
read-only ,
inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
Methods
addEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
removeEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
dispatchEvent
(
Event
event
) →
bool
inherited