getRoutes

fun getRoutes(origin: Feature, destination: Feature, skiLevel: Level, callback: CompletionCallback<List<Route>>)

Retrieves the routes for the specified origin, destination, and ski level asynchronously.

Parameters

origin

The origin feature of the routes.

destination

The destination feature of the routes.

skiLevel

The ski level for the routes.

callback

The callback to handle the routes result or error.