Package com.urbanairship.preferencecenter.data

Types

Button
Link copied to clipboard
data class Button(text: String, contentDescription: String?, actions: ActionsMap)
Button attributes.
CommonDisplay
Link copied to clipboard
data class CommonDisplay(name: String?, description: String?)
Common display attributes.
Condition
Link copied to clipboard
sealed class Condition
Base condition, used to determine visibility of preference sections and items.
Conditions
Link copied to clipboard
typealias Conditions = List<Condition>
IconDisplay
Link copied to clipboard
data class IconDisplay(icon: String?, name: String?, description: String?)
Icon display attributes.
Item
Link copied to clipboard
sealed class Item
Preference items.
Options
Link copied to clipboard
data class Options(mergeChannelDataToContact: Boolean)
PreferenceCenterConfig
Link copied to clipboard
data class PreferenceCenterConfig(id: String, sections: List<Section>, display: CommonDisplay, options: Options?)
Preference Center Configuration.
Section
Link copied to clipboard
sealed class Section
Preference sections.

Functions

evaluate
Link copied to clipboard
fun Conditions.evaluate(state: Condition.State): Boolean
Evaluates this list of conditions against the given state.