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 from future releases after 2025-03-31.

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.