BluetoothLEPreferredConnectionParameters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents Bluetooth LE preferred connection parameters.
For more information on connection parameters and PHY, please reference the Bluetooth Core Specification.
public ref class BluetoothLEPreferredConnectionParameters sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BluetoothLEPreferredConnectionParameters final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BluetoothLEPreferredConnectionParameters
Public NotInheritable Class BluetoothLEPreferredConnectionParameters
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|
App capabilities |
bluetooth
|
Properties
Balanced |
A static property that gets a balanced set of connection parameters, offering a balance between throughput and power usage. |
ConnectionLatency |
Gets the connection latency. The connection latency is defined in connection events, ranging from 0x0000 to 0x01F3. |
LinkTimeout |
Gets the connection link supervision timeout. The connection link supervision timeout is defined in 10ms increments, ranging from 0x000A to 0x0C80. Time(ms) = LinkTimeout * 10ms. |
MaxConnectionInterval |
Gets the maximum connection inverval. The connection inverval is defined as 1.25ms increments, ranging from 0x0006 to 0x0C80. Time(ms) = Interval * 1.25ms. |
MinConnectionInterval |
Gets the minimum connection inverval. The connection inverval is defined as 1.25ms increments, ranging from 0x0006 to 0x0C80. Time(ms) = Interval * 1.25ms. |
PowerOptimized |
A static property that gets a more power-efficient set of connection parameters. Optimized for power usage at the expense of throughput. Note Also allows for more simultaneous connections to other Bluetooth devices. |
ThroughputOptimized |
A static property that gets a more aggressive set of connection parameters, optimized for faster throughput at the expense of power usage. Note Also reduces the number of simultaneous connections that can be made to other Bluetooth devices. |