NOW LOADING

MidiBluetoothDeviceDisconnectResponse


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

Returned by MidiBluetoothTransportManager.DisconnectDeviceAsync.

Properties

Property Description
Success True when the device was disconnected
ErrorCode A MidiBluetoothDeviceDisconnectErrorCode
ErrorMessage The transport’s own wording for the failure
ErrorHResult The original HRESULT error number

NotConnected and DeviceNotDiscovered aren’t always failures worth stopping for. Removing a device from the configuration still makes sense when it isn’t connected, and that’s exactly when people are most likely to want to do it.

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.