Properties
The Radar ID of the event.
The datetime when the event occurred on the device.
The datetime when the event was created on the server.
A boolean indicating whether the event was generated with your live API key.
The type of the event. See Event Types for possible values.
The name of the conversion event. This will only be set if the
type is conversion.The geofence for which the event was generated. May be
nil for non-geofence events.The place for which the event was generated. May be
nil for non-place events.The region for which the event was generated. May be
nil for non-region events.The beacon for which the event was generated. May be
nil for non-beacon events.The trip for which the event was generated. May be
nil for non-trip events.The fraud checks for which the event was generated. May be
nil for non-fraud events.For place entry events, alternate place candidates. May be
nil for non-place events.For accepted place entry events, the verified place. May be
nil for non-place events or unverified events.The verification of the event. See Event Verification for possible values.
The confidence level of the event. See Event Confidence for possible values.
The duration between entry and exit events, in minutes, for exit events. 0 for entry events.
The location of the event.
A boolean indicating whether the event came from a replayed location.
The metadata of the event. Present on conversion events only.
Event Types
TheRadarEventType enum defines the types of events that can be generated:
Unknown event type.
A conversion type, created by calling
Radar.sendEvent(). The type value will be assigned to the conversionName property.user.entered_geofence - User entered a geofence.user.exited_geofence - User exited a geofence.user.entered_place - User entered a place.user.exited_place - User exited a place.user.nearby_place_chain - User is near a place chain.user.entered_region_country - User entered a country.user.exited_region_country - User exited a country.user.entered_region_state - User entered a state.user.exited_region_state - User exited a state.user.entered_region_dma - User entered a designated market area (DMA).user.exited_region_dma - User exited a DMA.user.entered_region_postal_code - User entered a postal code.user.exited_region_postal_code - User exited a postal code.user.dwelled_in_geofence - User dwelled in a geofence.user.started_trip - User started a trip.user.updated_trip - User’s trip was updated.user.approaching_trip_destination - User is approaching the trip destination.user.arrived_at_trip_destination - User arrived at the trip destination.user.arrived_at_wrong_trip_destination - User arrived at the wrong trip destination.user.stopped_trip - User stopped a trip.user.fired_trip_orders - User fired trip orders.user.entered_beacon - User entered a beacon region.user.exited_beacon - User exited a beacon region.user.failed_fraud - User failed fraud detection checks.Event Confidence
TheRadarEventConfidence enum defines the confidence levels for events:
Unknown confidence (0).
Low confidence (1).
Medium confidence (2).
High confidence (3).
Event Verification
TheRadarEventVerification enum defines the verification types for events:
Accept event (1).
Unverify event (0).
Reject event (-1).
Methods
stringForType
RadarEventType enum value to its string representation.
The event type to convert.
nil if unknown.
dictionaryValue
arrayForEvents
The array of events to convert.
nil if the input is nil.