public abstract static class BannerInstructions.Builder
extends java.lang.Object
BannerInstructions
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract BannerInstructions |
build()
Build a new
BannerInstructions object. |
abstract BannerInstructions.Builder |
distanceAlongGeometry(double distanceAlongGeometry)
Distance in meters from the beginning of the step at which the visual instruction should be
visible.
|
abstract BannerInstructions.Builder |
primary(BannerText primary)
Main visual information about the
LegStep . |
abstract BannerInstructions.Builder |
secondary(BannerText secondary)
Ancillary visual information about the
LegStep . |
abstract BannerInstructions.Builder |
sub(BannerText sub)
Additional information that is included
if we feel the driver needs a heads up about something.
|
public abstract BannerInstructions.Builder distanceAlongGeometry(double distanceAlongGeometry)
distanceAlongGeometry
- double value representing the length from the steps first point
to where the banner instruction should be displayedpublic abstract BannerInstructions.Builder primary(@Nullable BannerText primary)
LegStep
.primary
- BannerText
representing the primary visual informationpublic abstract BannerInstructions.Builder secondary(@Nullable BannerText secondary)
LegStep
.secondary
- BannerText
representing the secondary visual informationpublic abstract BannerInstructions.Builder sub(@Nullable BannerText sub)
sub
- BannerText
representing the sub visual informationBannerText
representing the sub visual informationpublic abstract BannerInstructions build()
BannerInstructions
object.BannerInstructions
using the provided values in this builder