init(ssmlRepresentation:voice:)
Creates a request with a voice and a description.
Declaration
init(ssmlRepresentation text: String, voice: AVSpeechSynthesisProviderVoice)Parameters
- text:
The description of the text to synthesize.
- voice:
The voice to use in the speech request.