SupportedAppearance

Controls whether the SDK uses light, dark, or device appearance

Definition

enum class SupportedAppearance {
    Dark,
    Device,
    Light
}

Cases

CaseDescription
DarkForces the SDK to use dark appearance regardless of the device setting
DeviceThe SDK follows the device's current appearance setting
LightForces the SDK to use light appearance regardless of the device setting

Default

The default value is Device.

val supportedAppearance = SupportedAppearance.Device

Sample Usage

val supportedAppearance = SupportedAppearance.Light