Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# TvInteractiveAppView.OnUnhandledInputEventListener

*** ** * ** ***

` public static interface TvInteractiveAppView.OnUnhandledInputEventListener `   
` `

|---|
| android.media.tv.interactive.TvInteractiveAppView.OnUnhandledInputEventListener |

<br />

*** ** * ** ***

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

## Summary

| ### Public methods ||
|---|---|
| ` abstract boolean` | ` https://developer.android.com/reference/android/media/tv/interactive/TvInteractiveAppView.OnUnhandledInputEventListener#onUnhandledInputEvent(android.view.InputEvent)(https://developer.android.com/reference/android/view/InputEvent event) ` Called when an input event was not handled by the TV Interactive App. |

## Public methods

### onUnhandledInputEvent

Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract boolean onUnhandledInputEvent (InputEvent event)
```

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

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

<br />

| Parameters ||
|---|---|
| `event` | `InputEvent`: The input event. This value cannot be `null`. <br /> |

| 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`. <br /> |