| Namespace | Windows.Devices.Midi2.CapabilityInquiry |
|---|---|
| Type Name | MidiResourceList |
| Type | WinRT Runtime Class |
| IDL | MidiResourceList.idl |
Read this before you make a request, so you don’t send a request the device will only refuse.
| Constructor | Description |
|---|---|
MidiResourceList() |
Creates an empty list |
| Property | Description |
|---|---|
Entries |
The resources the device listed |
| Method | Description |
|---|---|
GetEntry(resource) |
The entry for a named resource, or null if the device doesn’t offer it |
SupportsResource(resource) |
True if the device lists that resource |
GetJson() |
The list as JSON. The ResourceList resource is a JSON array of entries |
| Static Method | Description |
|---|---|
FromJson(json) |
Reads a list from the resource’s JSON array |
