OnKeyboardActionListener

interface OnKeyboardActionListener

Listener for virtual keyboard events.

Functions

onKey
Link copied to clipboard
abstract fun onKey(primaryCode: Int, keyCodes: Array<Int>)
Send a key press to the listener.
onPress
Link copied to clipboard
abstract fun onPress(primaryCode: Int)
Called when the user presses a key.
onRelease
Link copied to clipboard
abstract fun onRelease(primaryCode: Int)
Called when the user releases a key.
onText
Link copied to clipboard
abstract fun onText(text: CharSequence)
Sends a sequence of characters to the listener.
swipeDown
Link copied to clipboard
abstract fun swipeDown()
Called when the user quickly moves the finger from up to down.
swipeLeft
Link copied to clipboard
abstract fun swipeLeft()
Called when the user quickly moves the finger from right to left.
swipeRight
Link copied to clipboard
abstract fun swipeRight()
Called when the user quickly moves the finger from left to right.
swipeUp
Link copied to clipboard
abstract fun swipeUp()
Called when the user quickly moves the finger from down to up.