Table of Contents

Enum ScanMatchNumber

Namespace
Bluetooth.Abstractions.Scanning.Options.Android
Assembly
Bluetooth.Abstractions.Scanning.dll

Android scan match numbers (API 23+).

public enum ScanMatchNumber

Fields

Few = 2

Report after matching a few advertisements. Maps to BluetoothScanMatchNumber.FewAdvertisement (value: 2). Match few advertisement per filter, depends on current capability and availability of the resources in hw.

Requires Android 6.0 (API 23) or higher. Ignored on lower API levels. https://developer.android.com/reference/android/bluetooth/le/ScanSettings#MATCH_NUM_FEW_ADVERTISEMENT

Max = 3

Report after matching many advertisements. Maps to BluetoothScanMatchNumber.MaxAdvertisement (value: 3).

Requires Android 6.0 (API 23) or higher. Ignored on lower API levels. https://developer.android.com/reference/android/bluetooth/le/ScanSettings#MATCH_NUM_MAX_ADVERTISEMENT

One = 1

Report after matching one advertisement. Maps to BluetoothScanMatchNumber.OneAdvertisement (value: 1). Determines how many advertisements to match per filter, as this is scarce hw resource.

Requires Android 6.0 (API 23) or higher. Ignored on lower API levels. https://developer.android.com/reference/android/bluetooth/le/ScanSettings#MATCH_NUM_ONE_ADVERTISEMENT

Remarks

Maps to Android ScanSettings match number constants.