Språk

TvInteractiveAppView.UnhandledInputEventEventArgs Class

Definition

Stores an input event and a handled state.

public class TvInteractiveAppView.UnhandledInputEventEventArgs : EventArgs
type TvInteractiveAppView.UnhandledInputEventEventArgs = class
    inherit EventArgs
Inheritance
TvInteractiveAppView.UnhandledInputEventEventArgs

Remarks

The .NET binding generator creates this type for OnUnhandledInputEvent(InputEvent). TvInteractiveAppView has no .NET event that creates these arguments, because SetOnUnhandledInputEventListener(IExecutor, TvInteractiveAppView+IOnUnhandledInputEventListener) takes an executor and a listener.

To handle input events that the interactive app does not handle, implement TvInteractiveAppView.IOnUnhandledInputEventListener, return true from OnUnhandledInputEvent(InputEvent) when the listener consumes the event, and pass the listener to SetOnUnhandledInputEventListener(IExecutor, TvInteractiveAppView+IOnUnhandledInputEventListener).

Constructors

Name Description
TvInteractiveAppView.UnhandledInputEventEventArgs(Boolean, InputEvent)

Creates event data with the supplied input event and handled state.

Properties

Name Description
Event

Gets the input event supplied to the constructor.

Handled

Gets or sets the handled state stored in the event data.

Applies to