TtsResult class

音频结果

Constructors

TtsResult({required TtsDts dts, required int frameId, required bool isCancel, required Uint8List audioData, int percent = 0})

Properties

audioData Uint8List
合成音频数据
final
dts TtsDts
音频块位置状态信息
final
frameId int
音频段id,取值:1,2,3,...
final
hashCode int
The hash code for this object.
no setterinherited
isCancel bool
合成过程中是否被取消
final
percent int
合成进度
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited