Class

CLBeacon

Information about an observed iBeacon device and its relative distance to the user’s device.

Declaration

@interface CLBeacon : NSObject

Overview

The CLBeacon class represents a beacon that was observed during beacon ranging. You do not create instances of this class directly. The location manager (CLLocationManager) object reports observed beacons to its associated delegate object.

The identity of a beacon is defined by its UUID, major, and minor properties. These values are coded into the beacon itself. For a more thorough description of the meaning of those values, see CLBeaconRegion.

Topics

Identifying a Beacon

UUID

The UUID that the observed beacon transmitted.

major

The major value that the observed beacon transmitted.

minor

The minor value that the observed beacon transmitted.

proximityUUID

The proximity ID of the beacon.

Deprecated

Determining Distance to the Beacon

proximity

The relative distance to the beacon.

CLProximity

Constants that reflect the relative distance to a beacon.

accuracy

The accuracy of the proximity value, measured in meters from the beacon.

rssi

The received signal strength of the beacon, measured in decibels.

timestamp

A timestamp representing when the beacon was observed.

Relationships

Inherits From

See Also

iBeacon

Determining the Proximity to an iBeacon Device

Detect beacons and determine the relative distance to them.

Turning an iOS Device into an iBeacon Device

Broadcast iBeacon signals from an iOS device.

CLBeaconRegion

A region used to detect the presence of iBeacon devices.

CLBeaconIdentityConstraint

Identity characteristics that can match one or more beacons.