Edytuj

Udostępnij za pośrednictwem


Midi Class

Definition

Global methods and constants for using CoreMidi.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static class Midi
public static class Midi
type Midi = class
Inheritance
Midi
Attributes

Properties

DestinationCount

The number of MIDI destinations.

DeviceCount

The number of MIDI devices in the system (do not confused with external connected devices).

ExternalDeviceCount

The number of external devices connected to this system.

NetworkBonjourServiceType

Represents the value associated with the constant MIDINetworkBonjourServiceType

NetworkNotificationContactsDidChange

Notification raised when the MIDI network has changed.

NetworkNotificationSessionDidChange

Notification raised when the MIDI session has changed

SourceCount

Returns the number of sources in the system.

Methods

GetDevice(nint)

Returns an object representing the specified MIDI device.

GetExternalDevice(nint)

Returns an object representing the specified external MIDI device.

Restart()

Restarts the MIDI Subsystem.

Applies to

See also