NOW LOADING

MidiBluetoothDeviceDisconnectConfig


Identifies a Bluetooth MIDI device to disconnect, and can be saved to stop it reconnecting
Namespace Windows.Devices.Midi2.Transports.Bluetooth
Type Name MidiBluetoothDeviceDisconnectConfig
Type WinRT Runtime Class
IDL MidiBluetoothDeviceDisconnectConfig.idl

Implements IMidiServiceTransportPluginConfig.

Constructors

Constructor Description
MidiBluetoothDeviceDisconnectConfig(bluetoothDeviceId) Disconnects the device. If you save it, the device stays listed but stops connecting on its own
MidiBluetoothDeviceDisconnectConfig(bluetoothDeviceId, removeFromConfiguration) The same, except that if removeFromConfiguration is true, saving removes the entry from the configuration completely

Properties

Property Description
BluetoothDeviceId The device’s Bluetooth address, as twelve hex digits
RemoveFromConfiguration When false, saving keeps the device listed but turned off. When true, saving removes the entry
TransportId The Bluetooth transport’s GUID
ConfigJson This change, as JSON

Disconnecting and forgetting are separate steps. Disconnecting alone lasts only until the service restarts. Then a saved device connects again.

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.