Radar
object Radar
Content copied to clipboard
The main class used to interact with the Radar SDK.
See also
Types
RadarBeaconCallback
Link copied to clipboard
interface RadarBeaconCallback
Content copied to clipboard
RadarContextCallback
Link copied to clipboard
interface RadarContextCallback
Content copied to clipboard
RadarGeocodeCallback
Link copied to clipboard
interface RadarGeocodeCallback
Content copied to clipboard
RadarIpGeocodeCallback
Link copied to clipboard
interface RadarIpGeocodeCallback
Content copied to clipboard
RadarLocationCallback
Link copied to clipboard
interface RadarLocationCallback
Content copied to clipboard
RadarLocationSource
Link copied to clipboard
RadarLogLevel
Link copied to clipboard
RadarMatrixCallback
Link copied to clipboard
interface RadarMatrixCallback
Content copied to clipboard
RadarRouteCallback
Link copied to clipboard
interface RadarRouteCallback
Content copied to clipboard
RadarRouteMode
Link copied to clipboard
RadarRouteUnits
Link copied to clipboard
RadarSearchGeofencesCallback
Link copied to clipboard
interface RadarSearchGeofencesCallback
Content copied to clipboard
RadarSearchPlacesCallback
Link copied to clipboard
interface RadarSearchPlacesCallback
Content copied to clipboard
RadarStatus
Link copied to clipboard
RadarTrackCallback
Link copied to clipboard
interface RadarTrackCallback
Content copied to clipboard
RadarTripCallback
Link copied to clipboard
interface RadarTripCallback
Content copied to clipboard
Functions
acceptEvent
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
autocomplete
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
fun autocomplete(query: String, near: Location? = null, limit: Int? = null, block: (status: Radar.RadarStatus, addresses: Array<RadarAddress>?) -> Unit)
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
fun autocomplete(query: String, near: Location? = null, layers: Array<String>? = null, limit: Int? = null, country: String? = null, block: (status: Radar.RadarStatus, addresses: Array<RadarAddress>?) -> Unit)
Content copied to clipboard
cancelTrip
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
completeTrip
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
geocode
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
fun geocode(query: String, block: (status: Radar.RadarStatus, addresses: Array<RadarAddress>?) -> Unit)
Content copied to clipboard
getContext
Link copied to clipboard
fun getContext(block: (status: Radar.RadarStatus, location: Location?, context: RadarContext?) -> Unit)
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
fun getContext(location: Location, block: (status: Radar.RadarStatus, location: Location?, context: RadarContext?) -> Unit)
Content copied to clipboard
getDescription
Link copied to clipboard
getDistance
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
fun getDistance(destination: Location, modes: EnumSet<Radar.RadarRouteMode>, units: Radar.RadarRouteUnits, block: (status: Radar.RadarStatus, routes: RadarRoutes?) -> Unit)
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
fun getDistance(origin: Location, destination: Location, modes: EnumSet<Radar.RadarRouteMode>, units: Radar.RadarRouteUnits, block: (status: Radar.RadarStatus, routes: RadarRoutes?) -> Unit)
Content copied to clipboard
getLocation
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
fun getLocation(block: (status: Radar.RadarStatus, location: Location?, stopped: Boolean) -> Unit)
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
fun getLocation(desiredAccuracy: RadarTrackingOptions.RadarTrackingOptionsDesiredAccuracy, block: (status: Radar.RadarStatus, location: Location?, stopped: Boolean) -> Unit)
Content copied to clipboard
getMatrix
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
fun getMatrix(origins: Array<Location>, destinations: Array<Location>, mode: Radar.RadarRouteMode, units: Radar.RadarRouteUnits, block: (status: Radar.RadarStatus, matrix: RadarRouteMatrix?) -> Unit)
Content copied to clipboard
getMetadata
Link copied to clipboard
getTrackingOptions
Link copied to clipboard
getTripOptions
Link copied to clipboard
initialize
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
ipGeocode
Link copied to clipboard
fun ipGeocode(block: (status: Radar.RadarStatus, address: RadarAddress?, proxy: Boolean) -> Unit)
Content copied to clipboard
isTracking
Link copied to clipboard
jsonForLocation
Link copied to clipboard
mockTracking
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
rejectEvent
Link copied to clipboard
reverseGeocode
Link copied to clipboard
fun reverseGeocode(block: (status: Radar.RadarStatus, addresses: Array<RadarAddress>?) -> Unit)
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
fun reverseGeocode(location: Location, block: (status: Radar.RadarStatus, addresses: Array<RadarAddress>?) -> Unit)
Content copied to clipboard
searchGeofences
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
fun searchGeofences(radius: Int, tags: Array<String>?, metadata: JSONObject?, limit: Int?, block: (status: Radar.RadarStatus, location: Location?, geofences: Array<RadarGeofence>?) -> Unit)
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
fun searchGeofences(near: Location, radius: Int, tags: Array<String>?, metadata: JSONObject?, limit: Int?, block: (status: Radar.RadarStatus, location: Location?, geofences: Array<RadarGeofence>?) -> Unit)
Content copied to clipboard
searchPlaces
Link copied to clipboard
fun searchPlaces(radius: Int, chains: Array<String>?, categories: Array<String>?, groups: Array<String>?, limit: Int?, block: (status: Radar.RadarStatus, location: Location?, places: Array<RadarPlace>?) -> Unit)
Content copied to clipboard
fun searchPlaces(near: Location, radius: Int, chains: Array<String>?, categories: Array<String>?, groups: Array<String>?, limit: Int?, block: (status: Radar.RadarStatus, location: Location?, places: Array<RadarPlace>?) -> Unit)
Content copied to clipboard
setAdIdEnabled
Link copied to clipboard
setDescription
Link copied to clipboard
setForegroundServiceOptions
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
setLogLevel
Link copied to clipboard
setMetadata
Link copied to clipboard
setReceiver
Link copied to clipboard
startTracking
Link copied to clipboard
startTrip
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
stopTracking
Link copied to clipboard
stringForMode
Link copied to clipboard
stringForSource
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
stringForTripStatus
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
trackOnce
Link copied to clipboard
fun trackOnce(block: (status: Radar.RadarStatus, location: Location?, events: Array<RadarEvent>?, user: RadarUser?) -> Unit)
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
@JvmStatic()
Content copied to clipboard
updateTrip
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
@JvmStatic()
Content copied to clipboard