RadarContext
Objective-C
@interface RadarContext : NSObject
Swift
class RadarContext : NSObject
Represents the context for a location.
-
An array of the geofences for the location. May be empty if the location is not in any geofences.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSArray<RadarGeofence *> *geofences;
Swift
var geofences: [RadarGeofence] { get }
-
The place for the location. May be
nil
if the location is not at a place or if Places is not enabled.Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) RadarPlace *place;
Swift
@NSCopying var place: RadarPlace? { get }
-
The country of the location. May be
nil
if country is not available or if Regions is not enabled.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) RadarRegion *country;
Swift
var country: RadarRegion? { get }
-
The state of the location. May be
nil
if state is not available or if Regions is not enabled.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) RadarRegion *state;
Swift
var state: RadarRegion? { get }
-
The designated market area (DMA) of the location. May be
nil
if DMA is not available or if Regions is not enabled.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) RadarRegion *dma;
Swift
var dma: RadarRegion? { get }
-
The postal code of the location. May be
nil
if postal code is not available or if Regions is not enabled.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) RadarRegion *postalCode;
Swift
var postalCode: RadarRegion? { get }