Properties
String
required
The Radar ID of the user.
String
The unique ID of the user, provided when you identified the user. May be
nil if the user has not been identified.String
The device ID of the user.
String
The optional description of the user. Not to be confused with the
NSObject description property.[String: Any]
The optional set of custom key-value pairs for the user.
CLLocation
required
The user’s current location.
Double
required
The user’s current altitude in meters.
RadarActivityType
required
The user’s current activity type. See Activity Types for possible values.
[RadarGeofence]
An array of the user’s current geofences. May be
nil or empty if the user is not in any geofences.See the Geofences documentation for more information.RadarPlace
The user’s current place. May be
nil if the user is not at a place or if Places is not enabled.See the Places documentation for more information.[RadarBeacon]
An array of the user’s nearby beacons. May be
nil or empty if the user is not near any beacons or if Beacons is not enabled.See the Beacons documentation for more information.Bool
required
A boolean indicating whether the user is stopped.
Bool
required
A boolean indicating whether the user was last updated in the foreground.
RadarRegion
The user’s current country. May be
nil if country is not available or if Regions is not enabled.See the Regions documentation for more information.RadarRegion
The user’s current state. May be
nil if state is not available or if Regions is not enabled.See the Regions documentation for more information.RadarRegion
The user’s current designated market area (DMA). May be
nil if DMA is not available or if Regions is not enabled.See the Regions documentation for more information.RadarRegion
The user’s current postal code. May be
nil if postal code is not available or if Regions is not enabled.See the Regions documentation for more information.[RadarChain]
The user’s nearby chains. May be
nil if no chains are nearby or if nearby chains are not enabled.[RadarSegment]
The user’s segments. May be
nil if segments are not enabled.[RadarChain]
The user’s top chains. May be
nil if segments are not enabled.RadarLocationSource
required
The source of the user’s current location. See Location Sources for possible values.
RadarTrip
The user’s current trip. May be
nil if the user is not currently on a trip.See the Trip Tracking documentation for more information.Bool
required
A boolean indicating whether the user is marked as debug.
RadarFraud
The user’s current fraud state. May be
nil if Fraud is not enabled.See the Fraud documentation for more information.Activity Types
TheRadarActivityType enum defines the types of user activity:
RadarActivityType
Unknown activity (0).
RadarActivityType
Stationary activity (1).
RadarActivityType
Walking activity (2).
RadarActivityType
Running activity (3).
RadarActivityType
Biking activity (4).
RadarActivityType
Driving activity (5).
Location Sources
TheRadarLocationSource enum defines the sources for location updates:
RadarLocationSource
Foreground location update.
RadarLocationSource
Background location update.
RadarLocationSource
Manual location update.
RadarLocationSource
Visit arrival location update.
RadarLocationSource
Visit departure location update.
RadarLocationSource
Geofence enter location update.
RadarLocationSource
Geofence exit location update.
RadarLocationSource
Mock location update.
RadarLocationSource
Beacon enter location update.
RadarLocationSource
Beacon exit location update.
RadarLocationSource
Unknown location source.