The Developer Preview for Android 11 is now available; test it out and share your feedback.

OnUnhandledKeyListener

interface OnUnhandledKeyListener
androidx.leanback.widget.BaseGridView.OnUnhandledKeyListener

Summary

Public methods

abstract Boolean

Returns true if the key event should be consumed.

Public methods

onUnhandledKey

abstract fun onUnhandledKey(event: KeyEvent!): Boolean

Returns true if the key event should be consumed.