PollSwitchInput

data class PollSwitchInput(var value: Any, val maxValue: Any? = null, val keyboardType: KeyboardType = KeyboardType.Text)

The input information that will be used to create a poll switch item.

Constructors

Link copied to clipboard
constructor(value: Any, maxValue: Any? = null, keyboardType: KeyboardType = KeyboardType.Text)

Properties

Link copied to clipboard

The type of the input of the switch and decide the keyboard type of the input.

Link copied to clipboard
val maxValue: Any? = null

The maximum vale of the switch. Normally, you can use the limit of the decimal format of the value.

Link copied to clipboard
var value: Any

The default value of the switch.