SnowMappy SDK
androidJvm
SnowMappy SDK
/
io.bemappy.sdk.models
/
Route
Route
class
Route
(
index
:
Int
,
routeGeometry
:
Polyline
,
val
duration
:
Double
,
val
totalLength
:
Double
,
val
steps
:
List
<
NavigationStep
>
,
val
origin
:
Feature
,
val
destination
:
Feature
)
:
Parcelable
Members
Constructors
Route
Link copied to clipboard
constructor
(
index
:
Int
,
routeGeometry
:
Polyline
,
duration
:
Double
,
totalLength
:
Double
,
steps
:
List
<
NavigationStep
>
,
origin
:
Feature
,
destination
:
Feature
)
Types
Companion
Link copied to clipboard
object
Companion
Travel
Type
Link copied to clipboard
enum
TravelType
:
Enum
<
Route.TravelType
>
Functions
to
Level
Link copied to clipboard
fun
Route.TravelType
.
toLevel
(
)
:
Level
Properties
destination
Link copied to clipboard
val
destination
:
Feature
duration
Link copied to clipboard
val
duration
:
Double
formatted
Total
Length
Link copied to clipboard
val
formattedTotalLength
:
String
level
Link copied to clipboard
val
level
:
Level
origin
Link copied to clipboard
val
origin
:
Feature
steps
Link copied to clipboard
val
steps
:
List
<
NavigationStep
>
total
Length
Link copied to clipboard
val
totalLength
:
Double
travel
Ratios
Link copied to clipboard
val
travelRatios
:
List
<
RouteStep
>