La Vista previa para desarrolladores de Android 11 ya está disponible. Pruébala y comparte tus comentarios.

OnKeyInterceptListener

interface OnKeyInterceptListener
androidx.leanback.widget.BaseGridView.OnKeyInterceptListener

Listener for intercepting key dispatch events.

Summary

Public methods

abstract Boolean

Returns true if the key dispatch event should be consumed.

Public methods

onInterceptKeyEvent

abstract fun onInterceptKeyEvent(event: KeyEvent!): Boolean

Returns true if the key dispatch event should be consumed.