BackgroundType

Types

Link copied to clipboard
@Serializable
data class ChatTheme(val themeName: String) : BackgroundType
Link copied to clipboard
object Companion : KSerializer<BackgroundType>
Link copied to clipboard
sealed interface Dimmable : BackgroundType
Link copied to clipboard
@Serializable
data class Fill(val fill: BackgroundFill, val darkThemeDimming: Progress) : BackgroundType.Fillable, BackgroundType.Dimmable
Link copied to clipboard
sealed interface Fillable : BackgroundType
Link copied to clipboard
sealed interface Movable : BackgroundType
Link copied to clipboard
@Serializable
data class Pattern(val document: DocumentFile, val fill: BackgroundFill, val intensity: Progress, val isInverted: Boolean = false, val isMoving: Boolean = false) : BackgroundType.WithDocument, BackgroundType.Fillable, BackgroundType.Movable
Link copied to clipboard
@Serializable
data class Unknown(val type: String, val raw: JsonElement?) : BackgroundType
Link copied to clipboard
@Serializable
data class Wallpaper(val document: DocumentFile, val darkThemeDimming: Progress, val isBlurred: Boolean = false, val isMoving: Boolean = false) : BackgroundType.WithDocument, BackgroundType.Dimmable, BackgroundType.Movable
Link copied to clipboard
sealed interface WithDocument : BackgroundType

Properties

Link copied to clipboard
abstract val type: String