AWSPollySynthesizeSpeechOutput

@interface AWSPollySynthesizeSpeechOutput
  • Stream containing the synthesized speech.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSData *_Nullable audioStream;

    Swift

    var audioStream: Data? { get set }
  • Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

    • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.

    • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.

    • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

    • If you request json as the OutputFormat, the ContentType returned is audio/json.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable contentType;

    Swift

    var contentType: String? { get set }
  • Number of characters synthesized.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable requestCharacters;

    Swift

    var requestCharacters: NSNumber? { get set }