Enum BluetoothScanCallbackType
- Namespace
- Bluetooth.Abstractions.Scanning.Options
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Defines when scan result callbacks should be triggered.
[Flags]
public enum BluetoothScanCallbackType
Fields
AllMatches = 1Report all advertisement packets as they are received.
Android: CALLBACK_TYPE_ALL_MATCHES
FirstMatch = 2Report only the first advertisement packet from each device.
Android: CALLBACK_TYPE_FIRST_MATCH
FirstMatchAndMatchLost = FirstMatch | MatchLostReport both first match and match lost events.
Android: CALLBACK_TYPE_FIRST_MATCH | CALLBACK_TYPE_MATCH_LOST
MatchLost = 4Report when a device is no longer detected (after a timeout period).
Android: CALLBACK_TYPE_MATCH_LOST Not fully supported on iOS/Windows
None = 0Do not report any advertisement packets. This can be used when only interested in scan start/stop events or when filtering is performed in software.