Builder

class Builder

Build a new PredictiveCacheLocationOptions

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun build(): PredictiveCacheLocationOptions
Link copied to clipboard
fun currentLocationRadiusInMeters(radiusInMeters: Int): PredictiveCacheLocationOptions.Builder

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

Link copied to clipboard
fun destinationLocationRadiusInMeters(radiusInMeters: Int): PredictiveCacheLocationOptions.Builder

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

Link copied to clipboard
fun routeBufferRadiusInMeters(radiusInMeters: Int): PredictiveCacheLocationOptions.Builder

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