Warning
This feature is available in the Full MapKit SDK version
MMKSpeaker
@protocol MMKSpeaker <NSObject> |
Undocumented
Summary
Instance methods
- (void)reset; |
- (void)sayWithPhrase:(nonnull MMKLocalizedPhrase *)phrase; |
- (double)durationWithPhrase:(nonnull MMKLocalizedPhrase *)phrase; |
Instance methods
reset
- (void)reset; |
Stops all speech and forgets all previously scheduled phrases.
sayWithPhrase:
- (void)sayWithPhrase:(nonnull MMKLocalizedPhrase *)phrase; |
Pronounces the phrase, interrupting the one being spoken now, if neccessary.
durationWithPhrase:
- (double)durationWithPhrase:(nonnull MMKLocalizedPhrase *)phrase; |
Returns the phrase duration (how many seconds it takes to pronounce it).