V2TimTTSResponse class Models
V2TimTTSResponse
流式消息 TTS 的音频分片,由 V2TimAdvancedMsgListener.onRecvTTSResponse 回调。
Constructors
-
V2TimTTSResponse({required String msgID, required List<
Uint8List> audioDataList, required bool isFinished}) - V2TimTTSResponse.fromJson(Map json)
Properties
-
audioDataList
↔ List<
Uint8List> -
本次下发的 Opus 音频分片列表,按服务端下发顺序排列
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFinished ↔ bool
-
是否接收完毕,true 表示后续不会再有分片
getter/setter pair
- msgID ↔ String
-
消息 ID,与发起 startTTS 的流式消息 msgID 对应
getter/setter pair
- 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
-
toLogString(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited