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