Identity characteristics that can match one or more beacons.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
Framework
- Core Location
Declaration
@interface CLBeaconIdentityConstraint : NSObject
Overview
A constraint specifies beacon identity characteristics. Use constraints to check for matching beacons by comparing the beacon’s identity characteristics (UUID
, major
, and minor
) to those in the constraint.
Constraints always specify a UUID value, but the major and minor values are optional. A beacon is said to satisfy the constraint if all three identity characteristics of the beacon match the same characteristic of the constraint. Major and minor characteristics are wildcards if they have no value. A major or minor wildcard value matches any value in the beacon’s corresponding characteristic.