MidiDevice Class

Definition

Represents a MIDI device (typically they represent a hardware device, but virtual devices also exist). Devices can contain one or more entities.

public class MidiDevice : CoreMidi.MidiObject
type MidiDevice = class
    inherit MidiObject
Inheritance
MidiDevice

Remarks

A single MIDI hardware device contains one or more entities. For example a single box could contain two independent MIDI tone generators, or a generator and a keyboard.

To obtain a MidiDevice, use the T:CoreMidi.Midi.GetDevice(int) or the T:CoreMidi.Midi.GetExternalDevice(int) methods.

Properties

Methods

Add(String, Boolean, nuint, nuint, MidiEntity)
Dispose()

Releases the resources used by the MidiObject object.

(Inherited from MidiObject)
Dispose(Boolean)

Releases the resources used by the MidiObject object.

(Inherited from MidiObject)
GetData(IntPtr) (Inherited from MidiObject)
GetDictionaryProperties(Boolean)

Returns the object properties as a dictionary.

(Inherited from MidiObject)
GetEntity(nint)

Returns the specified entity.

GetString(IntPtr) (Inherited from MidiObject)
RemoveProperty(String) (Inherited from MidiObject)
SetData(IntPtr, NSData) (Inherited from MidiObject)
SetString(IntPtr, String) (Inherited from MidiObject)

Applies to