Global Variable

CBCentralManagerScanOptionAllowDuplicatesKey

Declaration

let CBCentralManagerScanOptionAllowDuplicatesKey: String

Discussion

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

The value for this key is an NSNumber object. If true, filtering is disabled and a discovery event is generated each time the central receives an advertising packet from the peripheral. Disabling this filtering can have an adverse effect on battery life and should be used only if necessary. If false, multiple discoveries of the same peripheral are coalesced into a single discovery event. If the key is not specified, the default value is false.