MapsIndoors Android
MapsIndoorsSDK
/
com.mapsindoors.core
/
MPHighway
MPHighway
open
class
MPHighway
Types
Functions
Properties
Types
Code
Link copied to clipboard
@
Retention
(
value
=
RetentionPolicy.SOURCE
)
annotation class
Code
Name
Link copied to clipboard
@
Retention
(
value
=
RetentionPolicy.SOURCE
)
annotation class
Name
Functions
from
Code
Link copied to clipboard
@
NonNull
open
fun
fromCode
(
highwayCode
:
Int
)
:
String
to
Code
Link copied to clipboard
open
fun
toCode
(
@
Nullable
highway
:
String
)
:
Int
to
Speed
Link copied to clipboard
open
fun
toSpeed
(
@
Nullable
highway
:
String
)
:
Float
Properties
ELEVATOR
Link copied to clipboard
val
ELEVATOR
:
String
=
"elevator"
ELEVATOR_CODE
Link copied to clipboard
val
ELEVATOR_CODE
:
Int
=
8
ELEVATOR_SPEED
Link copied to clipboard
val
ELEVATOR_SPEED
:
Float
=
1.0f
ESCALATOR
Link copied to clipboard
val
ESCALATOR
:
String
=
"escalator"
ESCALATOR_CODE
Link copied to clipboard
val
ESCALATOR_CODE
:
Int
=
6
ESCALATOR_SPEED
Link copied to clipboard
val
ESCALATOR_SPEED
:
Float
=
0.9f
FOOTWAY
Link copied to clipboard
val
FOOTWAY
:
String
=
"footway"
FOOTWAY_CODE
Link copied to clipboard
val
FOOTWAY_CODE
:
Int
=
1
FOOTWAY_SPEED
Link copied to clipboard
val
FOOTWAY_SPEED
:
Float
=
1.0f
LADDER
Link copied to clipboard
val
LADDER
:
String
=
"ladder"
LADDER_CODE
Link copied to clipboard
val
LADDER_CODE
:
Int
=
11
LADDER_SPEED
Link copied to clipboard
val
LADDER_SPEED
:
Float
=
0.25f
RAMP
Link copied to clipboard
val
RAMP
:
String
=
"ramp"
RAMP_CODE
Link copied to clipboard
val
RAMP_CODE
:
Int
=
4
RAMP_SPEED
Link copied to clipboard
val
RAMP_SPEED
:
Float
=
0.7f
RESIDENTIAL
Link copied to clipboard
val
RESIDENTIAL
:
String
=
"residential"
RESIDENTIAL_CODE
Link copied to clipboard
val
RESIDENTIAL_CODE
:
Int
=
2
RESIDENTIAL_SPEED
Link copied to clipboard
val
RESIDENTIAL_SPEED
:
Float
=
1.0f
SERVICE
Link copied to clipboard
val
SERVICE
:
String
=
"service"
SERVICE_CODE
Link copied to clipboard
val
SERVICE_CODE
:
Int
=
3
SERVICE_SPEED
Link copied to clipboard
val
SERVICE_SPEED
:
Float
=
1.0f
STEPS
Link copied to clipboard
val
STEPS
:
String
=
"steps"
STEPS_CODE
Link copied to clipboard
val
STEPS_CODE
:
Int
=
5
STEPS_SPEED
Link copied to clipboard
val
STEPS_SPEED
:
Float
=
0.5f
TRAVELATOR
Link copied to clipboard
val
TRAVELATOR
:
String
=
"travelator"
TRAVELATOR_CODE
Link copied to clipboard
val
TRAVELATOR_CODE
:
Int
=
7
TRAVELATOR_SPEED
Link copied to clipboard
val
TRAVELATOR_SPEED
:
Float
=
1.3f
UNCLASSIFIED
Link copied to clipboard
val
UNCLASSIFIED
:
String
=
"unclassified"
UNCLASSIFIED_CODE
Link copied to clipboard
val
UNCLASSIFIED_CODE
:
Int
=
0
UNCLASSIFIED_SPEED
Link copied to clipboard
val
UNCLASSIFIED_SPEED
:
Float
=
1.0f
WHEELCHAIRLIFT
Link copied to clipboard
val
WHEELCHAIRLIFT
:
String
=
"wheelchairlift"
WHEELCHAIRLIFT_CODE
Link copied to clipboard
val
WHEELCHAIRLIFT_CODE
:
Int
=
10
WHEELCHAIRLIFT_SPEED
Link copied to clipboard
val
WHEELCHAIRLIFT_SPEED
:
Float
=
0.3f
WHEELCHAIRRAMP
Link copied to clipboard
val
WHEELCHAIRRAMP
:
String
=
"wheelchairramp"
WHEELCHAIRRAMP_CODE
Link copied to clipboard
val
WHEELCHAIRRAMP_CODE
:
Int
=
9
WHEELCHAIRRAMP_SPEED
Link copied to clipboard
val
WHEELCHAIRRAMP_SPEED
:
Float
=
0.3f