TvAdView.OnUnhandledInputEventListener
public
static
interface
TvAdView.OnUnhandledInputEventListener
android.media.tv.ad.TvAdView.OnUnhandledInputEventListener |
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 TV AD service. |
Public methods
onUnhandledInputEvent
public abstract boolean onUnhandledInputEvent (InputEvent event)
Called when an input event was not handled by the TV AD service.
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 |
InputEvent : The input event.
This value cannot be null . |
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 . |