RoomioScanStyle

class RoomioScanStyle(@ColorIntval primaryColor: Int = 0xFF2C268D.toInt(), @ColorIntval secondaryColor: Int = 0xFFEFEFFB.toInt())

The colours of RoomioScanView: its buttons, the exit confirmation, the low-storage sheet and the onboarding, as ARGB ints. The confirmation's "Yes, exit" and the sheet's "Continue anyway" stay red whatever you choose.

Constructors

RoomioScanStyle constructor(@ColorIntprimaryColor: Int = 0xFF2C268D.toInt(), @ColorIntsecondaryColor: Int = 0xFFEFEFFB.toInt())

Properties

Name Summary
primaryColor val primaryColor: Int
Fills the main buttons, such as "Complete scan" and the onboarding's "Next", and colours the text and outline of the others. Roomio purple by default.
secondaryColor val secondaryColor: Int
The text on the main buttons, and the fill of the others, such as the exit confirmation's "Cancel". A pale lavender by default.

RoomioScanStyle

constructor(@ColorIntprimaryColor: Int = 0xFF2C268D.toInt(), @ColorIntsecondaryColor: Int = 0xFFEFEFFB.toInt())

primaryColor

val primaryColor: Int

secondaryColor

val secondaryColor: Int

Roomio SDK 0.0.15