CLBeaconIdentityConstraint
public struct CLBeaconIdentityConstraint : Hashable, CustomDebugStringConvertible, CustomStringConvertible
Represents the constraints used to identify a specific iBeacon. Apple Documentation
-
The unique identifier of the beacon’s proximity UUID.
Declaration
Swift
public let uuid: UUID
-
The major value that identifies one or more beacons (optional).
Declaration
Swift
public let major: UInt16?
-
The minor value that identifies a specific beacon (optional).
Declaration
Swift
public let minor: UInt16?
-
Initializes a constraint for a specific beacon.
Declaration
Swift
public init(uuid: UUID, major: UInt16? = nil, minor: UInt16? = nil)
Parameters
uuid
The proximity UUID of the beacon.
major
The major value (optional).
minor
The minor value (optional).
-
A user-friendly description of the beacon identity constraint.
Declaration
Swift
public var description: String { get }
-
A debug-friendly description of the beacon identity constraint.
Declaration
Swift
public var debugDescription: String { get }