RouteComputeAdapter

abstract class RouteComputeAdapter : Router.RouteComputeListener

Listener adapter for RouteComputeListener

Functions

onAlternativeComputeFinished
Link copied to clipboard
open fun onAlternativeComputeFinished(router: Router, routes: Route)
Called when all routes are calculated.
abstract fun onAlternativeComputeFinished(router: Router, routes: Route)
Called when all routes are calculated.
onComputeError
Link copied to clipboard
open fun onComputeError(router: Router, error: Int)
Called when error occurs during calculating.
abstract fun onComputeError(router: Router, error: Int)
Called when error occurs during calculating.
onComputeFinished
Link copied to clipboard
open fun onComputeFinished(router: Router)
Called when route calculating is finished.
abstract fun onComputeFinished(router: Router)
Called when route calculating is finished.
onComputeStarted
Link copied to clipboard
open fun onComputeStarted(router: Router)
Called when route calculating is started.
abstract fun onComputeStarted(router: Router)
Called when route calculating is started.
onPrimaryComputeFinished
Link copied to clipboard
open fun onPrimaryComputeFinished(router: Router, routes: Route)
Called when all routes are calculated.
abstract fun onPrimaryComputeFinished(router: Router, routes: Route)
Called when all routes are calculated.
onProgress
Link copied to clipboard
open fun onProgress(router: Router, progress: Int, routeId: Long)
Progress of computing in percentage for given route.
abstract fun onProgress(router: Router, progress: Int, routeId: Long)
Progress of computing in percentage for given route.