SupportedAppearance
Definition
enum class SupportedAppearance {
Dark,
Device,
Light
}Cases
| Case | Description |
|---|---|
| Device | The SDK follows the device's current appearance setting. This is the value by default. |
| Dark | Forces the SDK to use dark appearance regardless of the device setting |
| Light | Forces 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.DeviceSample Usage
import com.paymitto.android.sdk.SupportedAppearance
val supportedAppearance = SupportedAppearance.Light