AI Elements for Kotlin
Toggle table of contents
Android
Target filter
Android
Switch theme
Search in API
Skip to content
AI Elements for Kotlin
ai-elements-core
/
dev.ai.elements.core.protocol.aisdk
/
UiMessageStreamBackend
/
Companion
/
parseChunk
parse
Chunk
fun
parseChunk
(
chunk
:
JsonObject
)
:
ChatEvent
?
(
source
)
Map one chunk; null for chunks that produce nothing (kept for callers of the v5 API).