PollSwitchInput

data class PollSwitchInput(    var value: Any,     val description: String = "",     val minValue: Any? = null,     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, description: String = "", minValue: Any? = null, maxValue: Any? = null, keyboardType: KeyboardType = KeyboardType.Text)

Properties

Link copied to clipboard

The description of the input in the switch (shown as hint/contentDescription).

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 value of the switch. Normally, you can use the limit of the decimal format of the value.

Link copied to clipboard
val minValue: Any? = null

The minimum value 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.