-
@Stable() public final class MessageRootSPEC-084: In-app message config models matching Firestore schema.
SPEC-070-A J.10 — Compose stability: MessageConfig is read by InAppMessageRenderer Composables. Annotated
@Stable(rather than@Immutable) because MessageContent.cta_icon / MessageContent.secondary_cta_icon are untypedAny?(caller-supplied icon refs / emoji / IconReference maps) and TriggerCondition.value isAny?— we don't widen those to a typed shape here. SPEC-070-A J.22 has no list fields to migrate on this surface (MessageConfig.actionsdoes not exist on Android — the server schema only carries a singlecta_action+ asecondary_cta_text; iOS-listedMessageConfig.content_blockslikewise isn't in the Android schema).
-
-
Constructor Summary
Constructors Constructor Description MessageRoot(Integer version, Map<String, MessageConfig> messages)
-
Method Summary
Modifier and Type Method Description final IntegergetVersion()final Map<String, MessageConfig>getMessages()-
-
Constructor Detail
-
MessageRoot
MessageRoot(Integer version, Map<String, MessageConfig> messages)
-
-
Method Detail
-
getVersion
final Integer getVersion()
-
getMessages
final Map<String, MessageConfig> getMessages()
-
-
-
-