ORS Android Client
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
ORS Android Client
ORS Android Client
/
org.nitri.ors.domain.route
/
Segment
Segment
@
Serializable
data
class
Segment
(
val
distance
:
Double
,
val
duration
:
Double
,
val
steps
:
List
<
Step
>
?
=
null
,
val
ascent
:
Double
?
=
null
,
val
descent
:
Double
?
=
null
,
val
detourFactor
:
Double
?
=
null
,
val
percentage
:
Double
?
=
null
)
One segment between intermediate waypoints.
Members
Constructors
Segment
Link copied to clipboard
constructor
(
distance
:
Double
,
duration
:
Double
,
steps
:
List
<
Step
>
?
=
null
,
ascent
:
Double
?
=
null
,
descent
:
Double
?
=
null
,
detourFactor
:
Double
?
=
null
,
percentage
:
Double
?
=
null
)
Properties
ascent
Link copied to clipboard
val
ascent
:
Double
?
=
null
descent
Link copied to clipboard
val
descent
:
Double
?
=
null
detour
Factor
Link copied to clipboard
@
SerialName
(
value
=
"detour_factor"
)
val
detourFactor
:
Double
?
=
null
distance
Link copied to clipboard
val
distance
:
Double
duration
Link copied to clipboard
val
duration
:
Double
percentage
Link copied to clipboard
val
percentage
:
Double
?
=
null
steps
Link copied to clipboard
val
steps
:
List
<
Step
>
?
=
null