RadarGeofence
Objective-C
@interface RadarGeofence : NSObject
Swift
class RadarGeofence : NSObject
Represents a geofence.
-
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 }
-
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
orRadarPolygonGeometry
.Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) RadarGeofenceGeometry *geometry;
Swift
var geometry: RadarGeofenceGeometry { get }