BluetoothLEDevice.GetConnectionParameters Method

Definition

Retrieves connection parameters for the remote device. If multiple apps or other system scenarios also request these parameters, then the system automatically combines the parameters, where compatible, based on system priority.

Note

When the device is not connected, the connection parameters are invalid (all zero).

public:
 virtual BluetoothLEConnectionParameters ^ GetConnectionParameters() = GetConnectionParameters;
BluetoothLEConnectionParameters GetConnectionParameters();
public BluetoothLEConnectionParameters GetConnectionParameters();
function getConnectionParameters()
Public Function GetConnectionParameters () As BluetoothLEConnectionParameters

Returns

A BluetoothLEConnectionParameters object representing connection parameters for the remote device.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)
App capabilities
bluetooth

Applies to