Enum ScanPhy
- Namespace
- Bluetooth.Abstractions.Scanning.Options.Android
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Android PHY types for scanning (API 26+).
[Flags]
public enum ScanPhy
Fields
AllSupported = Le1M | Le2M | LeCodedAll supported PHYs (default). Combination of all PHY masks. Maps to ScanSettings.PHY_LE_ALL_SUPPORTED (value: 255) in platform adapter.
Le1M = 11M PHY only (standard Bluetooth LE). Maps to ScanSettings.PHY_LE_1M_MASK (value: 1).
Le2M = 22M PHY (higher throughput, Bluetooth 5.0+). Maps to ScanSettings.PHY_LE_2M_MASK (value: 2).
LeCoded = 4Coded PHY (Long Range, Bluetooth 5.0+). Maps to ScanSettings.PHY_LE_CODED_MASK (value: 4).
None = 0No specific PHY preference. Not used directly; see AllSupported for default behavior.
Remarks
Maps to Android ScanSettings PHY constants. Note: This enum uses [Flags] because Android supports scanning on multiple PHYs simultaneously.