copy

fun copy(id: UniqueId = this.id, language: Locale = this.language, announcementType: AnnouncementType = this.announcementType, ssmlMessage: String = this.ssmlMessage): GuidanceAnnouncement

Deprecated

This will be removed 6 months after the next release.

Replace with

Use constructor to create the copy

Creates a copy of this GuidanceAnnouncement object.

Return

The copied GuidanceAnnouncement object.

Parameters

id

The ID of the announcement.

language

The language of the ssmlMessage.

announcementType

Type of the announcement.

ssmlMessage

A verbal message for the maneuver in SSML format.