PrimaryManeuver

class PrimaryManeuver

"primary": { "components": { "imageBaseURL": "https://mapbox-navigation-shields...", "type": "icon", "text": "CA 262" }, { "type": "delimiter", "text": "/" }, { "type": "text", "text": "Mission Boulevard" } , "type": "turn", "modifier": "uturn", "text": "CA 262 / Mission Boulevard" }

A simplified data structure representing BannerInstructions.primary

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

componentList
Link copied to clipboard
val componentList: List<Component>
List<Component> a part or element of BannerComponents
degrees
Link copied to clipboard
val degrees: Double? = null
Double?
drivingSide
Link copied to clipboard
val drivingSide: String? = null
String?
id
Link copied to clipboard
val id: String
String A unique id
modifier
Link copied to clipboard
val modifier: String? = null
String?
text
Link copied to clipboard
val text: String
String Plain text with all the BannerComponents text combined.
type
Link copied to clipboard
val type: String? = null
String?