TTSAgentDelegate
public protocol TTSAgentDelegate : AnyObject
An delegate that appllication can extend to register to observe TTSAgent state changes.
-
Tells the delegate that
TTSAgent
received TTS directiveDeclaration
Swift
func ttsAgentDidReceive(text: String, header: Downstream.Header)
Parameters
text
The text to play.
- header: The header of the originally handled directive.