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

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val componentList: List<Component>

List a part or element of BannerComponents

Link copied to clipboard
val degrees: Double? = null

Double? degrees at which you will be exiting a roundabout.

Link copied to clipboard
val drivingSide: String? = null

String? represents which side of the street people drive on in that location. Can be 'left' or 'right'.

Link copied to clipboard
val id: String

String A unique id

Link copied to clipboard
val modifier: String? = null

String? indicates the mode of the maneuver.

Link copied to clipboard
val text: String

String Plain text with all the BannerComponents text combined.

Link copied to clipboard
val type: String? = null

String? indicates the type of maneuver.