GfpTheme

sealed interface GfpTheme

Represents the theme of the app. May be one of ResolvedTheme.SYSTEM, ResolvedTheme.LIGHT, ResolvedTheme.DARK, LazyTheme.

Note: only supported for some S2S types of ads.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val key: String

The key value corresponding to the theme. Used for identifying the theme type in the system.

Functions

Link copied to clipboard

Returns the resolved theme. For ResolvedTheme, returns itself. For LazyTheme, returns the theme determined by the resolver.