BluetoothLEAdvertisementWatcher.ScanningMode 属性

定义

获取或设置蓝牙 LE 扫描模式。

public:
 property BluetoothLEScanningMode ScanningMode { BluetoothLEScanningMode get(); void set(BluetoothLEScanningMode value); };
BluetoothLEScanningMode ScanningMode();

void ScanningMode(BluetoothLEScanningMode value);
public BluetoothLEScanningMode ScanningMode { get; set; }
var bluetoothLEScanningMode = bluetoothLEAdvertisementWatcher.scanningMode;
bluetoothLEAdvertisementWatcher.scanningMode = bluetoothLEScanningMode;
Public Property ScanningMode As BluetoothLEScanningMode

属性值

蓝牙 LE 扫描模式。

Windows 要求

应用功能
bluetooth

适用于

另请参阅