Package-level declarations

Types

Link copied to clipboard
sealed class Action
Link copied to clipboard
Link copied to clipboard
sealed class CardItem
Link copied to clipboard
Link copied to clipboard
sealed class Content
Link copied to clipboard
data class DisplayConditions(val trigger: MessageTrigger?, val dismissAfterDaysShown: Int?)

Conditions controlling when and for how long a message is displayed. Evaluated internally by RMF; null fields mean "no restriction".

Link copied to clipboard
sealed class JsonActionType
Link copied to clipboard
data class JsonMatchingAttribute(val value: Any? = null, val min: Any? = null, val max: Any? = null, val since: Any? = null, val fallback: Boolean? = null)
Link copied to clipboard
data class JsonMessageAction(val type: String, val value: String, val additionalParameters: Map<String, String>?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The context a message targets, supplied by the consumer at read time. A triggered message is returned only in that context. A message with no trigger is unrestricted.

Link copied to clipboard
data class RemoteMessage(val id: String, val content: Content, val matchingRules: List<Int>, val exclusionRules: List<Int>, val surfaces: List<Surface>, val displayConditions: DisplayConditions? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard