SpokenInstructionFormatter
public class SpokenInstructionFormatter: NSObject
Formatter for creating speech strings.
-
Creates a string used for announcing a step.
If
markUpWithSSMLis true, the string will contain SSML. Your speech synthesizer should accept this type of string. SeePolleyVoiceController.Declaration
Swift
public func string(routeProgress: RouteProgress, userDistance: CLLocationDistance, markUpWithSSML: Bool) -> String
Install in Dash
SpokenInstructionFormatter Class Reference