GuidanceAnnouncement

data class GuidanceAnnouncement(    val id: UniqueId = UniqueId(),     val point: GeoCoordinate? = null,     val distance: Distance,     val type: String,     val maneuver: AnnouncementManeuver? = null,     val message: String = "",     var verbalMessage: String,     val verbalMessagePhonetics: Phonetics? = null,     val nextManeuver: AnnouncementManeuver? = null)

Fine-grained announcement points, each with its own message, location and distance to the instruction point.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

id

The ID of the announcement.

point

Location of the announcement defined as a latitude/longitude pair.

type

Type of Announcement.

maneuver

Code identifying the maneuver (e.g., 'Turn right').

message

A human-readable message for the maneuver.

verbalMessage

A verbal message for the maneuver.

verbalMessagePhonetics

Phonetic strings of all of the readable Instruction properties.

nextManeuver

Optional maneuver of the next instruction.

Constructors

Link copied to clipboard
fun GuidanceAnnouncement(    id: UniqueId = UniqueId(),     point: GeoCoordinate? = null,     distance: Distance,     type: String,     maneuver: AnnouncementManeuver? = null,     message: String = "",     verbalMessage: String,     verbalMessagePhonetics: Phonetics? = null,     nextManeuver: AnnouncementManeuver? = null)

Properties

Link copied to clipboard
val distance: Distance
Link copied to clipboard
val id: UniqueId
Link copied to clipboard
val maneuver: AnnouncementManeuver? = null
Link copied to clipboard
val message: String
Link copied to clipboard
val nextManeuver: AnnouncementManeuver? = null
Link copied to clipboard
val point: GeoCoordinate? = null
Link copied to clipboard
val type: String
Link copied to clipboard
var verbalMessage: String
Link copied to clipboard
val verbalMessagePhonetics: Phonetics? = null