共用方式為


BluetoothSignalStrengthFilter.SamplingInterval 屬性

定義

系統會取樣接收訊號強度指標 (RSSI) 事件的間隔。

public:
 property IReference<TimeSpan> ^ SamplingInterval { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> SamplingInterval();

void SamplingInterval(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> SamplingInterval { get; set; }
var iReference = bluetoothSignalStrengthFilter.samplingInterval;
bluetoothSignalStrengthFilter.samplingInterval = iReference;
Public Property SamplingInterval As Nullable(Of TimeSpan)

屬性值

RSSI 事件的取樣間隔。

Windows 需求

應用程式功能
bluetooth

備註

此屬性的有效範圍等於或大於零。

如果 SamplingInterval 為零,則每個收到的 RSSI 事件都會傳播透過其他 BluetoothSignalStrengthFilter 屬性所設定的條件。 如果取樣間隔大於或等於目前 25.5 秒的上限 (值) ,則取樣將會停用,而且只有在範圍和超出範圍之間轉換時,才會觸發 RSSI 事件。 否則,在取樣Interval 內收到的 RSSI 事件) ,匯總的 RSSI 值 (平均值將會傳播。 如果在 SamplingInterval 內未收到任何 RSSI 事件,則不會傳播任何 RSSI 事件。

適用於