共用方式為


BluetoothLEConnectionParameters 類別

定義

代表藍牙 LE 連線參數。

如需連線參數和 PHY 的詳細資訊,請參閱 藍牙核心規格

public ref class BluetoothLEConnectionParameters sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BluetoothLEConnectionParameters final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BluetoothLEConnectionParameters
Public NotInheritable Class BluetoothLEConnectionParameters
繼承
Object Platform::Object IInspectable BluetoothLEConnectionParameters
屬性

Windows 需求

規格需求 Description
裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)
應用程式功能
bluetooth

屬性

名稱 Description
ConnectionInterval

取得連接無從驗證。 連線無值定義為 1.25 毫秒遞增,範圍從0x0006到0x0C80。 時間 (毫秒) = 間隔 * 1.25 毫秒。

ConnectionLatency

取得連線延遲。 連線延遲定義于線上活動中,範圍從0x0000到0x01F3。

LinkTimeout

取得連接連結監督逾時。 連線連結監督逾時是以 10 毫秒的增量定義,範圍從0x000A到0x0C80。 時間 (毫秒) = LinkTimeout * 10 毫秒。

適用於