RSDVoiceBox
public protocol RSDVoiceBox
RSDVoiceBox is used by RSDStepViewController to speak
text strings.
-
Is the voice box currently speaking?
Declaration
Swift
var isSpeaking: Bool { get } -
Command the voice box to speak the given text.
Declaration
Swift
func speak(text: String, completion: RSDVoiceBoxCompletionHandler?)Parameters
textThe text to speak.
completionThe completion handler to call after the text has finished.
-
Command the voice box to stop speaking.
Declaration
Swift
func stopTalking()
View on GitHub
RSDVoiceBox Protocol Reference