MapsIndoors Android
MapsIndoorsSDK
/
com.mapsindoors.core
/
MPRouteStopIconConfig
/
Builder
Builder
open
class
Builder
Constructors
Functions
Constructors
Builder
Link copied to clipboard
open
fun
Builder
(
@
NonNull
context
:
Context
)
Create a new builder with the default stop icon image
Functions
build
Link copied to clipboard
@
NonNull
open
fun
build
(
)
:
MPRouteStopIconConfig
Build the icon configuration
set
Color
Link copied to clipboard
@
NonNull
open
fun
setColor
(
@
Nullable
@
ColorInt
color
:
Integer
)
:
MPRouteStopIconConfig.Builder
@
NonNull
open
fun
setColor
(
@
Nullable
color
:
String
)
:
MPRouteStopIconConfig.Builder
Set the color of the icon
set
Label
Link copied to clipboard
@
NonNull
open
fun
setLabel
(
@
Nullable
label
:
String
)
:
MPRouteStopIconConfig.Builder
Set the label for the icon
set
Numbered
Link copied to clipboard
@
NonNull
open
fun
setNumbered
(
numbered
:
Boolean
)
:
MPRouteStopIconConfig.Builder
Set if the icon should contain a number, based on the order of stops