OudsAdaptiveTokenValue

data class OudsAdaptiveTokenValue<T>(val extraCompact: T, val compact: T, val medium: T)

Allows to manage adaptive display. It contains multiple values for a token according to the display type.

Constructors

Link copied to clipboard
constructor(extraCompact: T, compact: T, medium: T)

Properties

Link copied to clipboard
val compact: T

Token value used for compact screens

Link copied to clipboard

Token value used for extra compact screens

Link copied to clipboard
val medium: T

Token value used for medium screens

Functions

Link copied to clipboard
fun getValue(adaptiveWindowType: OudsAdaptiveWindowType): T

Returns the value corresponding to the given adaptiveWindowType.