MMKSpeaker
Warning
This feature is available in the Full MapKit SDK version
|
protocol MMKSpeaker : NSObjectProtocol |
Summary
Instance methods
|
func reset() |
|
func say(with phrase: MMKLocalizedPhrase) |
|
func duration(with phrase: MMKLocalizedPhrase) -> Double |
Instance methods
reset()
|
func reset() |
Stops all speech and forgets all previously scheduled phrases.
say(with:)
|
func say(with phrase: MMKLocalizedPhrase) |
Pronounces the phrase, interrupting the one being spoken now, if neccessary.
duration(with:)
|
func duration(with phrase: MMKLocalizedPhrase) -> Double |
Returns the phrase duration (how many seconds it takes to pronounce it).