AnnouncementGenerationParams
public struct AnnouncementGenerationParams
Class enclosing parameters passed to the AnnouncementGenerator
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer
Declaration
Swift
public init(announcements: [Announcement], distanceToInstruction: Double, hasArrived: Bool)
-
List of announcements still to be generated.
Declaration
Swift
public let announcements: [Announcement]
-
Distance to the instruction.
Declaration
Swift
public let distanceToInstruction: Double
-
Indicates whether already arrived to the destination point.
Declaration
Swift
public let hasArrived: Bool