StartSpeechSynthesisStreamEventStream
Outbound event stream that contains synthesized audio data and stream status events.
Inheritors
Types
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.