primary
A plain text representation stored inside a
BannerText object.- 返回:
- a
BannerTextobject which includes text for visually displaying current step information to the user
SerializableLegStep useful for making UI
elements inside your application such as banners. To receive this information, your request must
NbmapDirections.Builder#bannerInstructions() have set to true.static class BannerInstructions.static BannerInstructions.Builderbuilder()BannerInstructions.Builder class.abstract doublestatic BannerInstructionsabstract BannerTextprimary()BannerText object.abstract BannerTextLegStep.abstract BannerTextsub()abstract BannerInstructions.BuilderBannerInstructions to its builder holding the currently assigned
values.static com.google.gson.TypeAdapter<BannerInstructions>typeAdapter(com.google.gson.Gson gson) abstract BannerViewview()toJsonBannerInstructions.Builder class.BannerInstructions.Builder for creating a new instanceBannerText object.BannerText object which includes text for visually displaying current step
information to the userLegStep.BannerText representing the secondary visual informationBannerText representing the sub visual informationBannerView representing the secondary visual informationBannerInstructions to its builder holding the currently assigned
values. This allows you to modify a single property and then rebuild the object resulting in
an updated and modified BannerInstructions.BannerInstructions.Builder with the same values set to match the ones defined
in this BannerInstructionsgson - the built Gson objectjson - a formatted valid JSON string defining a BannerInstructions