NOW LOADING

MidiServiceTransportCommand


A command to send to a transport plugin in the MIDI service
Namespace Windows.Devices.Midi2.ServiceConfig
Type Name MidiServiceTransportCommand
Type WinRT Runtime Class
Implements IMidiServiceTransportPluginConfig 
IDL MidiServiceTransportCommand.idl

A command to send to a transport with MidiServiceTransportPluginConfigManager.SendCommand(). A command has a verb, which says what to do, and arguments, which give the details. MidiServiceTransportCommonCommands has the common verbs.

Constructors

Constructor Description
MidiServiceTransportCommand() Creates an empty command with no transport id. You can’t set TransportId later, so use one of the other constructors if you plan to send it
MidiServiceTransportCommand(transportId) Creates an empty command for this transport
MidiServiceTransportCommand(transportId, verb) Creates a command with this verb
MidiServiceTransportCommand(transportId, verb, arguments) Creates a command with this verb and these arguments

Properties

Property Description
Verb The command’s verb, such as one from MidiServiceTransportCommonCommands
Arguments The command’s arguments, as pairs of text keys and values
TransportId The GUID of the transport the command is for. From IMidiServiceTransportPluginConfig
ConfigJson The command, as JSON. From IMidiServiceTransportPluginConfig

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.