Added in API level 1

DialerKeyListener

open class DialerKeyListener : NumberKeyListener
kotlin.Any
   ↳ android.text.method.MetaKeyKeyListener
   ↳ android.text.method.BaseKeyListener
   ↳ android.text.method.NumberKeyListener
   ↳ android.text.method.DialerKeyListener

For dialing-only text entry

As for all implementations of KeyListener, this class is only concerned with hardware keyboards. Software input methods have no obligation to trigger the methods in this class.

Summary

Inherited constants
Public constructors

Public methods
open Int

open static DialerKeyListener!

Protected methods
open CharArray

open Int
lookup(event: KeyEvent!, content: Spannable!)

Overrides the superclass's lookup method to prefer the number field from the KeyEvent.

Inherited functions
Properties
static CharArray!

The characters that are used.

Public constructors

DialerKeyListener

DialerKeyListener()

Public methods

getInputType

Added in API level 3
open fun getInputType(): Int

getInstance

Added in API level 1
open static fun getInstance(): DialerKeyListener!

Protected methods

getAcceptedChars

Added in API level 1
protected open fun getAcceptedChars(): CharArray
Return
CharArray This value cannot be null.

lookup

Added in API level 1
protected open fun lookup(
    event: KeyEvent!,
    content: Spannable!
): Int

Overrides the superclass's lookup method to prefer the number field from the KeyEvent.

Properties

CHARACTERS

Added in API level 1
static val CHARACTERS: CharArray!

The characters that are used.