Compartilhar via


Class SPXSpeechSynthesisResult

Declaration

@class SPXSpeechSynthesisResult : NSObject;

Description

Defines the speech synthesis result.

Added in version 1.7.0

Properties

resultId

@property (readonly, copy, atomic) NSString * _Nonnull resultId;

The result identifier.

audioData

@property (readonly, atomic) NSData * _Nullable audioData;

The synthesized audio data.

reason

@property (readonly, atomic) SPXResultReason reason;

The reason the result was created.

properties

@property (readonly, atomic) id<SPXPropertyCollection> _Nullable properties;

The set of properties exposed in the result.

audioDuration

@property (readonly, atomic) NSTimeInterval audioDuration;

The time duration of the synthesized audio. Added in version 1.21.0.