public static interface TvView.OnUnhandledInputEventListener
| android.media.tv.TvView.OnUnhandledInputEventListener |
接收未处理的输入事件时要调用的回调的接口定义。
公共方法(Public methods) |
|
|---|---|
abstract boolean |
onUnhandledInputEvent(InputEvent event) 当输入事件没有被绑定的电视输入处理时调用。 |
boolean onUnhandledInputEvent (InputEvent event)
当输入事件没有被绑定的电视输入处理时调用。
这是从调度事件的地方异步调用的。 它使主机应用程序有机会处理未处理的输入事件。
| 参数(Parameters) | |
|---|---|
event |
InputEvent: The input event. |
| 返回(Returns) | |
|---|---|
boolean |
If you handled the event, return true. If you want to allow the event to be handled by the next receiver, return false. |