Package io.radar.sdk.model

Types

RadarAddress
Link copied to clipboard
class RadarAddress(coordinate: RadarCoordinate, formattedAddress: String?, country: String?, countryCode: String?, countryFlag: String?, dma: String?, dmaCode: String?, state: String?, stateCode: String?, postalCode: String?, city: String?, borough: String?, county: String?, neighborhood: String?, street: String?, number: String?, addressLabel: String?, placeLabel: String?, confidence: RadarAddress.RadarAddressConfidence)
Represents an address.
RadarBeacon
Link copied to clipboard
class RadarBeacon(_id: String?, description: String?, tag: String?, externalId: String?, uuid: String, major: String, minor: String, metadata: JSONObject?, rssi: Int?, location: RadarCoordinate?)
Represents a Bluetooth beacon.
RadarChain
Link copied to clipboard
class RadarChain(slug: String, name: String, externalId: String?, metadata: JSONObject?)
Represents the chain of a place.
RadarCircleGeometry
Link copied to clipboard
class RadarCircleGeometry(center: RadarCoordinate, radius: Double) : RadarGeofenceGeometry
Represents the geometry of a circle geofence.
RadarContext
Link copied to clipboard
class RadarContext(geofences: Array<RadarGeofence>, place: RadarPlace?, country: RadarRegion?, state: RadarRegion?, dma: RadarRegion?, postalCode: RadarRegion?)
Represents the context for a location.
RadarCoordinate
Link copied to clipboard
class RadarCoordinate(latitude: Double, longitude: Double)
Represents a location coordinate.
RadarEvent
Link copied to clipboard
class RadarEvent(_id: String, createdAt: Date, actualCreatedAt: Date, live: Boolean, type: RadarEvent.RadarEventType, geofence: RadarGeofence?, place: RadarPlace?, region: RadarRegion?, beacon: RadarBeacon?, trip: RadarTrip?, alternatePlaces: Array<RadarPlace>?, verifiedPlace: RadarPlace?, verification: RadarEvent.RadarEventVerification, confidence: RadarEvent.RadarEventConfidence, duration: Float, location: Location)
Represents a change in user state.
RadarFraud
Link copied to clipboard
data class RadarFraud(proxy: Boolean, mocked: Boolean)
Learned fraud state for the user
RadarGeofence
Link copied to clipboard
class RadarGeofence(_id: String, description: String, tag: String?, externalId: String?, metadata: JSONObject?, geometry: RadarGeofenceGeometry?)
Represents a geofence.
RadarGeofenceGeometry
Link copied to clipboard
sealed class RadarGeofenceGeometry
Represents the geometry of a geofence.
RadarPlace
Link copied to clipboard
class RadarPlace(_id: String, name: String, categories: Array<String>, chain: RadarChain?, location: RadarCoordinate, group: String?, metadata: JSONObject?)
Represents a place.
RadarPolygonGeometry
Link copied to clipboard
class RadarPolygonGeometry(coordinates: Array<RadarCoordinate>, center: RadarCoordinate, radius: Double) : RadarGeofenceGeometry
Represents the geometry of a polygon geofence.
RadarRegion
Link copied to clipboard
class RadarRegion(_id: String, name: String, code: String, type: String, flag: String?)
Represents a region.
RadarRoute
Link copied to clipboard
class RadarRoute(distance: RadarRouteDistance?, duration: RadarRouteDuration?, geometry: RadarRouteGeometry?)
Represents a route between an origin and a destination.
RadarRouteDistance
Link copied to clipboard
class RadarRouteDistance(value: Double, text: String)
Represents the distance of a route.
RadarRouteDuration
Link copied to clipboard
class RadarRouteDuration(value: Double, text: String)
Represents the duration of a route.
RadarRouteGeometry
Link copied to clipboard
class RadarRouteGeometry(coordinates: Array<RadarCoordinate>?)
Represents the distance of a route.
RadarRouteMatrix
Link copied to clipboard
class RadarRouteMatrix(matrix: Array<Array<RadarRoute?>?>?)
Represents routes between multiple origins and destinations.
RadarRoutes
Link copied to clipboard
class RadarRoutes(geodesic: RadarRoute?, foot: RadarRoute?, bike: RadarRoute?, car: RadarRoute?, truck: RadarRoute?, motorbike: RadarRoute?)
Represents routes from an origin to a destination.
RadarSegment
Link copied to clipboard
class RadarSegment(description: String, externalId: String)
Represents a user segment.
RadarTrip
Link copied to clipboard
class RadarTrip(_id: String, externalId: String, metadata: JSONObject?, destinationGeofenceTag: String?, destinationGeofenceExternalId: String?, destinationLocation: RadarCoordinate?, mode: Radar.RadarRouteMode?, etaDistance: Double?, etaDuration: Double?, status: RadarTrip.RadarTripStatus)
Represents a trip.
RadarUser
Link copied to clipboard
class RadarUser(_id: String, userId: String?, deviceId: String?, description: String?, metadata: JSONObject?, location: Location, geofences: Array<RadarGeofence>?, place: RadarPlace?, beacons: Array<RadarBeacon>?, stopped: Boolean, foreground: Boolean, country: RadarRegion?, state: RadarRegion?, dma: RadarRegion?, postalCode: RadarRegion?, nearbyPlaceChains: Array<RadarChain>?, segments: Array<RadarSegment>?, topChains: Array<RadarChain>?, source: Radar.RadarLocationSource, proxy: Boolean, trip: RadarTrip?, mocked: Boolean)
Represents the current user state.