AudioEvent
An audio event containing synthesized speech.
Inherited functions
Casts this StartSpeechSynthesisStreamEventStream as a AudioEvent and retrieves its aws.sdk.kotlin.services.polly.model.AudioEvent value. Throws an exception if the StartSpeechSynthesisStreamEventStream is not a AudioEvent.
Casts this StartSpeechSynthesisStreamEventStream as a AudioEvent and retrieves its aws.sdk.kotlin.services.polly.model.AudioEvent value. Returns null if the StartSpeechSynthesisStreamEventStream is not a AudioEvent.
Casts this StartSpeechSynthesisStreamEventStream as a StreamClosedEvent and retrieves its aws.sdk.kotlin.services.polly.model.StreamClosedEvent value. Throws an exception if the StartSpeechSynthesisStreamEventStream is not a StreamClosedEvent.
Casts this StartSpeechSynthesisStreamEventStream as a StreamClosedEvent and retrieves its aws.sdk.kotlin.services.polly.model.StreamClosedEvent value. Returns null if the StartSpeechSynthesisStreamEventStream is not a StreamClosedEvent.