PredictiveCacheLocationOptions

class PredictiveCacheLocationOptions

PredictiveCacheLocationOptions.

Parameters

currentLocationRadiusInMeters

How far around the user's location we're going to cache, in meters. Defaults to 20000 (20 km)

routeBufferRadiusInMeters

How far around the active route we're going to cache, in meters (if route is set). Defaults to 5000 (5 km)

destinationLocationRadiusInMeters

How far around the destination location we're going to cache, in meters (if route is set). Defaults to 50000 (50 km)

Types

Builder
Link copied to clipboard
class Builder

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toBuilder
Link copied to clipboard
fun toBuilder(): PredictiveCacheLocationOptions.Builder
Get a builder to customize a subset of current options.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

currentLocationRadiusInMeters
Link copied to clipboard
val currentLocationRadiusInMeters: Int
How far around the user's location we're going to cache, in meters.
destinationLocationRadiusInMeters
Link copied to clipboard
val destinationLocationRadiusInMeters: Int
How far around the destination location we're going to cache, in meters (if route is set).
routeBufferRadiusInMeters
Link copied to clipboard
val routeBufferRadiusInMeters: Int
How far around the active route we're going to cache, in meters (if route is set).