OnKeyboardActionListener

Listener for virtual keyboard events.

Functions

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