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

    text

    The text to speak.

    completion

    The completion handler to call after the text has finished.

  • Command the voice box to stop speaking.

    Declaration

    Swift

    func stopTalking()