Builder

class Builder

Used to build ReplayHistorySession.

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun build(): ReplayHistorySessionOptions
Link copied to clipboard
fun enableSetRoute(enableSetRoute: Boolean): ReplayHistorySessionOptions.Builder

Relays the set route events into MapboxNavigation.setNavigationRoutes

Link copied to clipboard
fun filePath(filePath: String?): ReplayHistorySessionOptions.Builder

Set a path to the history file.

Link copied to clipboard
fun replayHistoryMapper(replayHistoryMapper: ReplayHistoryMapper): ReplayHistorySessionOptions.Builder

Set the ReplayHistoryMapper. Converts history events into replayable events.