Table of Contents

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 = 1

Report all advertisement packets as they are received.

Android: CALLBACK_TYPE_ALL_MATCHES

FirstMatch = 2

Report only the first advertisement packet from each device.

Android: CALLBACK_TYPE_FIRST_MATCH

FirstMatchAndMatchLost = FirstMatch | MatchLost

Report both first match and match lost events.

Android: CALLBACK_TYPE_FIRST_MATCH | CALLBACK_TYPE_MATCH_LOST

MatchLost = 4

Report when a device is no longer detected (after a timeout period).

Android: CALLBACK_TYPE_MATCH_LOST Not fully supported on iOS/Windows

None = 0

Do not report any advertisement packets. This can be used when only interested in scan start/stop events or when filtering is performed in software.