updateTrip

fun updateTrip(options: RadarTripOptions, status: RadarTrip.RadarTripStatus?, callback: Radar.RadarTripCallback? = null)

Manually updates a trip.

See also

Parameters

options

Configurable trip options.

status

The trip status. To avoid updating status, pass UNKNOWN.

callback

An optional callback.

fun updateTrip(options: RadarTripOptions, status: RadarTrip.RadarTripStatus?, block: (status: Radar.RadarStatus, trip: RadarTrip?, events: Array<RadarEvent>?) -> Unit)

Manually updates a trip.

See also

Parameters

options

Configurable trip options.

status

The trip status. To avoid updating status, pass UNKNOWN.

block

An optional block callback.