NOW LOADING

MidiResourceLink


A pointer from one resource to another, as carried in a links array
Namespace Windows.Devices.Midi2.CapabilityInquiry
Type Name MidiResourceLink
Type WinRT Runtime Class
Implements IStringable 
IDL MidiResourceLink.idl

This is how a device says which ProgramList a channel uses. For a device with several collections, following these links is the only way to reach them all.

Constructors

Constructor Description
MidiResourceLink() Creates an empty link
MidiResourceLink(resource, resourceId) Creates a link to one copy of a resource

Properties

Property Description
Resource The resource being pointed at, for example ProgramList
ResourceId Which copy of that resource, when the device offers more than one. Empty means the device has only one, and requests for it don’t include an id
Title The collection’s display name, if the device gives one

Methods

Method Description
GetJson() The link as it appears inside a links array
ToString (From IStringable) A readable summary of the link

Static Methods

Static Method Description
FromJson(json) Reads a link from its JSON object

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.