UAProximityRegion

@interface UAProximityRegion : NSObject

A UAProximityRegion defines a proximity region with an identifier, major and minor.

  • The proximity region’s latitude in degress.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) NSNumber *latitude;

    Swift

    var latitude: NSNumber? { get set }
  • The proximity region’s longitude in degrees.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) NSNumber *longitude;

    Swift

    var longitude: NSNumber? { get set }
  • The proximity region’s received signal strength indication in dBm.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) NSNumber *RSSI;

    Swift

    var rssi: NSNumber? { get set }
  • Factory method for creating a proximity region.

    Declaration

    Objective-C

    + (nullable instancetype)proximityRegionWithID:(nonnull NSString *)proximityID
                                             major:(nonnull NSNumber *)major
                                             minor:(nonnull NSNumber *)minor;

    Swift

    convenience init?(id proximityID: String, major: NSNumber, minor: NSNumber)

    Parameters

    proximityID

    The ID of the proximity region.

    major

    The major.

    minor

    The minor.

    Return Value

    Proximity region object or nil if error occurs.