RadarGeofence

Objective-C

@interface RadarGeofence : NSObject

Swift

class RadarGeofence : NSObject

Represents a geofence.

  • _id

    The Radar ID of the geofence.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var __description: String { get }
  • tag

    The tag of the geofence.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var externalId: String? { get }
  • The optional set of custom key-value pairs for the geofence.

    Declaration

    Objective-C

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

    Swift

    var metadata: [AnyHashable : Any]? { get }
  • The geometry of the geofence, which can be cast to either RadarCircleGeometry or RadarPolygonGeometry.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) RadarGeofenceGeometry *geometry;

    Swift

    var geometry: RadarGeofenceGeometry { get }