onKeyDown

fun onKeyDown(act: Activity?, keyCode: Int, event: KeyEvent?): Boolean?(source)