SupportedAppearance

Definition

enum class SupportedAppearance {
    Dark,
    Device,
    Light
}

Cases

CaseDescription
DeviceThe SDK follows the device's current appearance setting. This is the value by default.
DarkForces the SDK to use dark appearance regardless of the device setting
LightForces the SDK to use light appearance regardless of the device setting

Default

The default value is Device.

import com.paymitto.android.sdk.SupportedAppearance

val supportedAppearance = SupportedAppearance.Device

Sample Usage

import com.paymitto.android.sdk.SupportedAppearance

val supportedAppearance = SupportedAppearance.Light