Interface IInputDevice
Represents an abstract input MIDI device. More info in the
Devices and
Input device articles.
Inherited Members
Namespace: Melanchall.DryWetMidi.Multimedia
Assembly: Melanchall.DryWetMidi.dll
Syntax
public interface IInputDevice : IDisposable
Properties
IsListeningForEvents
Gets a value that indicates whether the current input device is currently listening for
incoming MIDI events.
Declaration
bool IsListeningForEvents { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
StartEventsListening()
Starts listening for incoming MIDI events on the current input device.
Declaration
void StartEventsListening()
StopEventsListening()
Stops listening for incoming MIDI events on the current input device.
Declaration
void StopEventsListening()
Events
EventReceived
Occurs when a MIDI event is received.
Declaration
event EventHandler<MidiEventReceivedEventArgs> EventReceived
Event Type
Type | Description |
---|---|
EventHandler<MidiEventReceivedEventArgs> |