Builder

class Builder

Builder for OnboardRouterOptions. You must choose a filePath for this to be built successfully.

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): OnboardRouterOptions
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
filePath
Link copied to clipboard
fun filePath(filePath: String?): OnboardRouterOptions.Builder
Creates a custom file path to store the road network tiles.
hashCode
Link copied to clipboard
open fun hashCode(): Int
keepOlderTilesVersions
Link copied to clipboard
fun keepOlderTilesVersions(keepOlderTilesVersions: Boolean): OnboardRouterOptions.Builder
Override flag to keep/remove older tiles versions.
fun minDaysBetweenServerAndLocalTilesVersion(minDaysBetweenServerAndLocalTilesVersion: Int): OnboardRouterOptions.Builder
Override minimum time in days between local version of tiles and latest on the server to consider using the latest version of routing tiles from the server.
tilesUri
Link copied to clipboard
fun tilesUri(tilesUri: URI): OnboardRouterOptions.Builder
Override the routing tiles endpoint with a URI
tilesVersion
Link copied to clipboard
fun tilesVersion(version: String): OnboardRouterOptions.Builder
Override the routing tiles version.
toString
Link copied to clipboard
open fun toString(): String