getContext

fun getContext(callback: Radar.RadarContextCallback)

Gets the device's current location, then gets context for that location without sending device or user identifiers to the server.

Parameters

callback

A callback.

fun getContext(block: (status: Radar.RadarStatus, location: Location?, context: RadarContext?) -> Unit)

Gets the device's current location, then gets context for that location without sending device or user identifiers to the server.

Parameters

block

A block callback.

fun getContext(location: Location, callback: Radar.RadarContextCallback)

Gets context for a location without sending device or user identifiers to the server.

Parameters

location

The location.

callback

A callback.

fun getContext(location: Location, block: (status: Radar.RadarStatus, location: Location?, context: RadarContext?) -> Unit)

Gets context for a location without sending device or user identifiers to the server.

Parameters

location

The location.

block

A block callback.