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 raw HRESULT.

NotConnected and DeviceNotFound are not necessarily failures worth stopping for. Removing a device from the configuration file is still meaningful when it is not connected, which is exactly when a customer is most likely to want 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.