SKiBeaconProximityConfiguration
Objective-C
@interface SKiBeaconProximityConfiguration : SKConfiguration <NSCopying>
Swift
class SKiBeaconProximityConfiguration : SKConfiguration, NSCopying
An instance of SKiBeaconProximityConfiguration can be used to configure the iBeacon™ Proximity sensor.
-
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE; -
Returns an SKiBeaconProximityConfiguration object, initialized with the UUID .
Declaration
Objective-C
- (nonnull instancetype)initWithUUID:(nonnull NSUUID *)UUID;Parameters
UUIDThe Universally Unique Identifiers (UUID) that will be used to distinguish the iBeacon™ devices of this application with other devices. Only iBeacons with the same UUID will be identified.
Return Value
A new SKiBeaconProximityConfiguration object.
-
The Universally Unique Identifiers (UUID) that will be used to distinguish the iBeacon™ devices of this application with other devices. Only iBeacons with the same UUID will be identified.
Declaration
Objective-C
@property (nonatomic, copy) NSUUID *_Nonnull UUID;Swift
var uuid: UUID { get set } -
Mode of the iBeacon™ Proximity sensor. It can Scan for other iBeacon™ devices in range, Broadcast an iBeacon™ signal to other devices, or both Scan and Broadcast simultaneously.
Declaration
Objective-C
@property (nonatomic) SKiBeaconProximityMode mode;Swift
var mode: SKiBeaconProximityMode { get set } -
A 16-bit unsigned integer identifier used to identify each device uniquelly. It ranges between 0 and 65535. This identifier can be used in combination with the minor identifier.
Declaration
Objective-C
@property (nonatomic) uint16_t major;Swift
var major: UInt16 { get set } -
A 16-bit unsigned integer identifier used to identify each device uniquelly. It ranges between 0 and 65535. This identifier can be used in combination with the major identifier.
Declaration
Objective-C
@property (nonatomic) uint16_t minor;Swift
var minor: UInt16 { get set } -
The strength of the signal measured at a distance of 1 meter.
Declaration
Objective-C
@property (nonatomic, copy) NSNumber *_Nullable measuredPower;Swift
@NSCopying var measuredPower: NSNumber? { get set }
View on GitHub