public interface

KeyEventDispatcher.Component

 androidx.core.view.KeyEventDispatcher.Component

Subclasses:

ComponentActivity, CarAppPermissionActivity, CarAppActivity, LauncherActivity, BaseCarAppActivity, AppSearchDebugActivity, SlicePermissionActivity, ComponentActivity, ComplicationHelperActivity, FragmentActivity, FragmentScenario.EmptyFragmentActivity, DeviceCredentialHandlerActivity, AppCompatActivity

Overview

Implement this in any component that dispatches s.

Summary

Methods
public booleansuperDispatchKeyEvent(KeyEvent event)

Expected to call into the super implementation of .

Methods

public boolean superDispatchKeyEvent(KeyEvent event)

Expected to call into the super implementation of . If you're not implementing Window.Callback, this should contain dispatch logic that occurs after s.

Parameters:

event: The event being dispatched

Returns:

true if consuming the event, false otherwise