RadarBeacon

Objective-C

@interface RadarBeacon : NSObject

Swift

class RadarBeacon : NSObject

Represents a Bluetooth beacon.

  • _id

    The Radar ID of the beacon.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *_id;

    Swift

    var _id: String? { get }
  • The description of the beacon. Not to be confused with the NSObject description property.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *__description;

    Swift

    var __description: String? { get }
  • tag

    The tag of the beacon.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *tag;

    Swift

    var tag: String? { get }
  • The external ID of the beacon.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *externalId;

    Swift

    var externalId: String? { get }
  • The UUID of the beacon.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *uuid;

    Swift

    var uuid: String { get }
  • The major ID of the beacon.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *major;

    Swift

    var major: String { get }
  • The minor ID of the beacon.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *minor;

    Swift

    var minor: String { get }
  • The optional set of custom key-value pairs for the beacon.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSDictionary *metadata;

    Swift

    var metadata: [AnyHashable : Any]? { get }
  • The location of the beacon.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) RadarCoordinate *geometry;

    Swift

    var geometry: RadarCoordinate? { get }
  • The RSSI of the beacon, or 0 if not available.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger rssi;

    Swift

    var rssi: Int { get }