PinPicker
open class PinPicker : Picker
kotlin.Any | |||||
↳ | android.view.View | ||||
↳ | android.view.ViewGroup | ||||
↳ | android.widget.FrameLayout | ||||
↳ | androidx.leanback.widget.picker.Picker | ||||
↳ | androidx.leanback.widget.picker.PinPicker |
Picker
subclass for allowing the user to enter a numerical PIN. The column count can be customized, and defaults to 4. R.attr#columnCount
Summary
Public constructors | |
---|---|
<init>(context: Context!, attrs: AttributeSet!) |
|
<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int) |
Public methods | |
---|---|
open Boolean |
dispatchKeyEvent(event: KeyEvent!) |
open String! |
getPin() Returns the PIN that the user has entered. |
open Boolean | |
open Unit |
resetPin() Resets all columns and selects the first one. |
open Unit |
setNumberOfColumns(count: Int) Sets the number of columns for entering the PIN. |
Inherited functions | |
---|---|