RadarTripOptions

data class RadarTripOptions(externalId: String, metadata: JSONObject?, destinationGeofenceTag: String?, destinationGeofenceExternalId: String?, mode: Radar.RadarRouteMode)

An options class used to configure background tracking.

See also

Constructors

RadarTripOptions
Link copied to clipboard
fun RadarTripOptions(externalId: String, metadata: JSONObject? = null, destinationGeofenceTag: String? = null, destinationGeofenceExternalId: String? = null, mode: Radar.RadarRouteMode = Radar.RadarRouteMode.CAR)

Types

Companion
Link copied to clipboard
object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
toJson
Link copied to clipboard
fun toJson(): JSONObject

Properties

destinationGeofenceExternalId
Link copied to clipboard
var destinationGeofenceExternalId: String? = null
For trips with a destination, the external ID of the destination geofence.
destinationGeofenceTag
Link copied to clipboard
var destinationGeofenceTag: String? = null
For trips with a destination, the tag of the destination geofence.
externalId
Link copied to clipboard
var externalId: String
A stable unique ID for the trip.
metadata
Link copied to clipboard
var metadata: JSONObject? = null
An optional set of custom key-value pairs for the trip.
mode
Link copied to clipboard
var mode: Radar.RadarRouteMode
For trips with a destination, the travel mode.