---
title: CBCentralManagerScanOptionAllowDuplicatesKey
framework: corebluetooth
role: symbol
role_heading: Global Variable
path: corebluetooth/cbcentralmanagerscanoptionallowduplicateskey
---

# CBCentralManagerScanOptionAllowDuplicatesKey

A Boolean value that specifies whether the scan should run without duplicate filtering.

## Declaration

```swift
let CBCentralManagerScanOptionAllowDuplicatesKey: String
```

## Discussion

Discussion The value for this key is an NSNumber object. If true, the central disables filtering and generates a discovery event each time it receives an advertising packet from the peripheral. If false (the default), the central coalesces multiple discoveries of the same peripheral into a single discovery event. important: Disabling this filtering can have an adverse effect on battery life; use it only if necessary.

## See Also

### Constants

- [CBCentralManagerScanOptionSolicitedServiceUUIDsKey](corebluetooth/cbcentralmanagerscanoptionsolicitedserviceuuidskey.md)
