RouteComputeListener

interface RouteComputeListener : NativeMethodsReceiver.NativeListener

Represents a listener to handle route calculation updates.

Functions

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

Inheritors

Router
Link copied to clipboard