toggle menu
sdk
androidJvm
switch theme
search in API
sdk
/
com.sygic.sdk.map.object.data
/
RouteData
/
Builder
Builder
class
Builder
:
ViewObjectDataBuilder
<
B
,
I
,
D
>
Members
Constructors
Builder
Link copied to clipboard
constructor
(
@
NonNull
route
:
Route
,
creator
:
ObjectCreator
<
MapRoute
,
RouteData
>
)
Functions
build
Link copied to clipboard
fun
build
(
)
:
I
set
Type
Link copied to clipboard
open
fun
setType
(
type
:
Int
)
:
RouteData.Builder
Specifies type of the route.
set
ZIndex
Link copied to clipboard
fun
setZIndex
(
zIndex
:
Int
)
:
B
use
Custom
Color
Link copied to clipboard
open
fun
useCustomColor
(
innerColor
:
Int
,
borderColor
:
Int
)
:
RouteData.Builder
Specifies custom color, which shall be used for the route.
with
Payload
Link copied to clipboard
fun
withPayload
(
@
NonNull
payload
:
Parcelable
)
:
B