Windows.Devices.Midi2.Transports.Bluetooth
Types for discovering Bluetooth Low Energy MIDI devices, connecting to them, and publishing this PC so other devices can connect to it.
One namespace covers both Bluetooth Low Energy MIDI 1.0 and the draft MIDI 2.0 transport. Which protocol a device speaks is chosen by the service, which prefers MIDI 2.0 whenever a device offers it, and is reported through MidiBluetoothProtocol. The only place an application chooses a protocol is when publishing this PC as a peripheral, because a peripheral has to advertise as one or the other.
Devices are identified by BluetoothDeviceId: the twelve hex digit Bluetooth address, not a Windows device interface id.
Click or tap the type name to view more details.
| Type | Description |
|---|---|
| MidiBluetoothAddressType | Whether a Bluetooth address is public or random |
| MidiBluetoothApprovalScope | How long a decision about a remote Central applies |
| MidiBluetoothConnectionState | How far along a Bluetooth MIDI device is in getting connected |
| MidiBluetoothDeviceConnectConfig | Identifies a Bluetooth MIDI device to connect to, and can be saved to make the connection persist |
| MidiBluetoothDeviceConnectErrorCode | Error codes returned when connecting a Bluetooth MIDI device |
| MidiBluetoothDeviceConnectResponse | The result of connecting a Bluetooth MIDI device |
| MidiBluetoothDeviceDisconnectConfig | Identifies a Bluetooth MIDI device to disconnect, and can be saved to stop it reconnecting |
| MidiBluetoothDeviceDisconnectErrorCode | Error codes returned when disconnecting a Bluetooth MIDI device |
| MidiBluetoothDeviceDisconnectResponse | The result of disconnecting a Bluetooth MIDI device |
| MidiBluetoothDeviceInformation | Information about a Bluetooth MIDI device this PC has discovered |
| MidiBluetoothOfflineRetention | How long a device's MIDI endpoint outlives the device going offline |
| MidiBluetoothOfflineRetentionConfig | Sets how long a MIDI endpoint outlives its Bluetooth device going offline |
| MidiBluetoothPeripheralClient | The remote device connected to this PC while it is published as a Bluetooth MIDI peripheral |
| MidiBluetoothPeripheralClientDecisionResponse | The result of approving or denying a remote Central which connected to this PC |
| MidiBluetoothPeripheralClientListConfig | Saves the remembered allow and deny lists to the configuration file |
| MidiBluetoothPeripheralClientPolicy | Whether a remote Central connecting to this PC is let through without asking |
| MidiBluetoothPeripheralConfig | Configures publishing this PC as a Bluetooth MIDI peripheral |
| MidiBluetoothPeripheralErrorCode | Error codes returned by Bluetooth MIDI peripheral operations |
| MidiBluetoothPeripheralResponse | The result of starting or stopping the Bluetooth MIDI peripheral |
| MidiBluetoothPeripheralStatus | The state of this PC when published as a Bluetooth MIDI peripheral |
| MidiBluetoothProtocol | Which Bluetooth MIDI protocol a device speaks |
| MidiBluetoothRadioInformation | What the Bluetooth radio on this PC can actually do |
| MidiBluetoothRememberedClient | A remembered allow or deny decision about a remote Central |
| MidiBluetoothTimestampSource | Whether a device's own timestamps are being used, or arrival time is standing in for them |
| MidiBluetoothTransportManager | The primary class used to discover and connect Bluetooth MIDI devices, and to publish this PC as a Bluetooth MIDI peripheral |