NOW LOADING

MidiBluetoothDeviceConnectResponse


The result of connecting a Bluetooth MIDI device
Namespace Windows.Devices.Midi2.Transports.Bluetooth
Type Name MidiBluetoothDeviceConnectResponse
Type WinRT Runtime Class
IDL MidiBluetoothDeviceConnectResponse.idl

Returned by MidiBluetoothTransportManager.ConnectDeviceAsync.

Properties

Property Description
Success True when the connection was made, or the request was remembered for when the device appears.
ErrorCode A MidiBluetoothDeviceConnectErrorCode.
ErrorMessage The transport’s own wording, which is more specific than the error code can be. Some causes share a code, and this is what tells them apart.
ErrorHResult The raw HRESULT, preserved so a cause the error code cannot distinguish is still diagnosable.
IsKnown False when the address is not one this PC has seen advertising. A connection request is remembered either way, so this is how a caller knows the device was not actually there.
Device The updated MidiBluetoothDeviceInformation, or null when the device could not be resolved.

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.