Retrieves data that can be used to advertise the current device as a beacon.
- iOS 7.0+
- Mac Catalyst 13.0+
- Core Location
The received signal strength indicator (RSSI) value (measured in decibels) for the device. This value represents the measured strength of the beacon from one meter away and is used during ranging. Specify
nilto use the default value for the device.
A dictionary of data that you can use in conjunction with a
CBPeripheral to advertise the current device as a beacon.
The returned dictionary encodes the beacon’s identifying information along with other information needed to advertise the beacon. You should not need to access the dictionary contents directly. Pass the dictionary to the
start method of a
CBPeripheral to begin advertising the beacon.