AWSPollySynthesizeSpeechOutput
Objective-C
@interface AWSPollySynthesizeSpeechOutput
Swift
class AWSPollySynthesizeSpeechOutput
-
Stream containing the synthesized speech.
Declaration
Objective-C
@property (nonatomic, strong) NSData *_Nullable audioStream;Swift
var audioStream: Data? { get set } -
Specifies the type audio stream. This should reflect the
OutputFormatparameter in your request.If you request
mp3as theOutputFormat, theContentTypereturned is audio/mpeg.If you request
ogg_vorbisas theOutputFormat, theContentTypereturned is audio/ogg.If you request
pcmas theOutputFormat, theContentTypereturned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.If you request
jsonas theOutputFormat, theContentTypereturned is application/x-json-stream.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable contentType;Swift
var contentType: String? { get set } -
Number of characters synthesized.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable requestCharacters;Swift
var requestCharacters: NSNumber? { get set }
View on GitHub
Install in Dash
AWSPollySynthesizeSpeechOutput Class Reference