Język

TvInteractiveAppView.UnhandledInputEventEventArgs Class

Definition

Provides an input event and a handled state for the OnUnhandledInputEvent(InputEvent) listener method.

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).

Based on the pinned .NET listener event generator.

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 passed to the listener.

Handled

Gets or sets whether the input event is handled.

Applies to