MapsIndoors Android
MapsIndoorsSDK
/
com.mapsindoors.core
/
MPRoute
MPRoute
open
class
MPRoute
Constructors
Functions
Properties
Constructors
MPRoute
Link copied to clipboard
open
fun
MPRoute
(
@
NonNull
legs
:
List
<
MPRouteLeg
>
)
Functions
find
Nearest
Segment
Path
From
Point
Link copied to clipboard
open
fun
findNearestSegmentPathFromPoint
(
point
:
MPPoint
,
floorIndex
:
Int
)
:
MPRouteSegmentPath
get
Collapsed
Steps
Link copied to clipboard
@
NonNull
open
fun
getCollapsedSteps
(
)
:
List
<
MPRouteStep
>
get
Distance
Link copied to clipboard
open
fun
getDistance
(
)
:
Int
get
Duration
Link copied to clipboard
open
fun
getDuration
(
)
:
Int
Properties
bounds
Link copied to clipboard
@
SerializedName
(
value
=
"bounds"
)
@get:
Nullable
val
bounds
:
Any
copyrights
Link copied to clipboard
@
SerializedName
(
value
=
"copyrights"
)
@get:
Nullable
open
val
copyrights
:
String
lat
Lng
Bounds
Link copied to clipboard
@get:
Nullable
val
latLngBounds
:
MPLatLngBounds
legs
Link copied to clipboard
@
SerializedName
(
value
=
"legs"
)
@get:
NonNull
val
legs
:
List
<
MPRouteLeg
>
restrictions
Link copied to clipboard
@
SerializedName
(
value
=
"restrictions"
)
@get:
Nullable
open
val
restrictions
:
Array
<
String
>
summary
Link copied to clipboard
@
SerializedName
(
value
=
"summary"
)
@get:
Nullable
open
var
summary
:
String
warnings
Link copied to clipboard
@
SerializedName
(
value
=
"warnings"
)
@get:
Nullable
open
val
warnings
:
Array
<
String
>