Dart SDK
dart:html
MidiPort
class
MidiPort
Constants
Properties
Constants
disconnectEvent
Properties
id
manufacturer
name
type
version
onDisconnect
on
Methods
addEventListener
removeEventListener
dispatchEvent
(Not documented.)
Annotations
DocsEditable()
DomName('MIDIPort')
Experimental()
Extends
Object
EventTarget
MidiPort
Implemented by
MidiInput
MidiOutput
Constants
EventStreamProvider
<
MidiConnectionEvent
>
disconnectEvent
=
const
EventStreamProvider
<
MidiConnectionEvent
>
('disconnect')
const
Static factory designed to expose disconnect events to event handlers that are not necessarily instances of
MidiPort
.
Properties
String
id
read-only
String
manufacturer
read-only
String
name
read-only
String
type
read-only
String
version
read-only
Stream
<
MidiConnectionEvent
>
onDisconnect
read-only
Stream of disconnect events handled by this [MidiPort].
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