sdk
sdk
/
com.sygic.sdk.route
/
RoutingOptions
/
RoutingType
Routing
Type
@
Retention
(
value
=
RetentionPolicy.CLASS
)
annotation class
RoutingType
Represents values describing different routing types.
Functions
Properties
Functions
annotation
Type
Link copied to clipboard
abstract
fun
annotationType
(
)
:
Class
<
out
Annotation
>
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String
Properties
Economic
Link copied to clipboard
val
Economic
:
Int
=
2
Search for economic route, some travel time may be sacrificed in order to reduce the distance traveled.
Fastest
Link copied to clipboard
val
Fastest
:
Int
=
1
Search for the fastest route, taking road conditions and restrictions into account (minimizes travel time).
Shortest
Link copied to clipboard
val
Shortest
:
Int
=
0
Search for the shortest route, taking road conditions and restrictions into account (minimizes travel distance).