AiChunk class
AI 流式分片
chunk 为本帧增量;content 为 SDK 累积后的全文(打字机展示用)。 done == true 时 SDK 会再触发 OnAdvancedMsgListener.onRecvNewMessage。
Constructors
Properties
- autoRecallSeconds ↔ int
-
getter/setter pair
- chunk ↔ String
-
getter/setter pair
- content ↔ String
-
累积全文(文字流为逐帧拼接;工具流在 done 时为完整 JSON)
getter/setter pair
- done ↔ bool
-
getter/setter pair
- flashRead ↔ bool
-
getter/setter pair
- fromId ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isToolStream → bool
-
no setter
- msgId ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- talkMode ↔ int
-
getter/setter pair
- toFromId ↔ int
-
getter/setter pair
- toolName ↔ String?
-
getter/setter pair
- ts ↔ int
-
getter/setter pair
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