Android APIs
Added in API level 21
public static interface

TvView.OnUnhandledInputEventListener

android.media.tv.TvView.OnUnhandledInputEventListener

Class Overview

Interface definition for a callback to be invoked when the unhandled input event is received.

Summary

Public Methods
abstract boolean onUnhandledInputEvent(InputEvent event)
Called when an input event was not handled by the bound TV input.

Public Methods

public abstract boolean onUnhandledInputEvent (InputEvent event)

Added in API level 21

Called when an input event was not handled by the bound TV input.

This is called asynchronously from where the event is dispatched. It gives the host application a chance to handle the unhandled input events.

Parameters
event The input event.
Returns
  • If you handled the event, return true. If you want to allow the event to be handled by the next receiver, return false.