NOW LOADING

MidiServiceConfigEndpointMatchCriteria


Criteria used to match a MIDI endpoint for configuration purposes
Namespace Windows.Devices.Midi2.ServiceConfig
Type Name MidiServiceConfigEndpointMatchCriteria
Type WinRT Runtime Class
IDL MidiServiceConfigEndpointMatchCriteria.idl
Library

Used by MidiServiceEndpointCustomizationConfig to specify which endpoint the customization applies to.

Constructors

Constructor Description
MidiServiceConfigEndpointMatchCriteria() Create an empty match criteria object

Properties

Property Description
EndpointDeviceId Match by full endpoint device id
DeviceInstanceId Match by device instance id
UsbVendorId Match by USB vendor id
UsbProductId Match by USB product id
UsbSerialNumber Match by USB serial number string
Midi2ProductInstanceId Match by MIDI 2.0 product instance id
StaticIPAddress Match by static IP address (for network transport)
Port Match by port number (for network transport)
TransportSuppliedEndpointName Match by transport-supplied endpoint name
ParentDeviceName Match by parent device name

Methods

Method Description
Matches(other) Returns true if this criteria matches the specified criteria
GetConfigJson() Returns the JSON representation of this criteria

Static Properties

Static Property Description
MatchObjectKey The JSON key used for the match object

Static Methods

Static Method Description
FromJson(matchObjectJson) Creates a MidiServiceConfigEndpointMatchCriteria from its JSON representation

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.