Class SPXSpeechSynthesisVisemeEventArgs

Declaration

@class SPXSpeechSynthesisVisemeEventArgs : NSObject;

Description

Defines the payload of speech synthesis viseme event.

Added in version 1.16.0

Properties

resultId

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

The result identifier.

Added in version 1.25.0

audioOffset

@property (readonly, atomic) uint64_t audioOffset;

Viseme audio offset, in ticks (100 nanoseconds).

visemeId

@property (readonly, atomic) NSUInteger visemeId;

Viseme ID.

animation

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

The animation of current viseme evenet, could be in svg or other format.