OnBackInvokedDispatcher

Interface of android.window · OnBackInvokedDispatcher.java · Android's reference

public interface OnBackInvokedDispatcher

The callbacks of the back key, by priority: the last registered of the highest priority is called.

Nested types

Implemented in the framework by

Fields

public int PRIORITY_DEFAULT source
public int PRIORITY_OVERLAY source
public int PRIORITY_SYSTEM_NAVIGATION_OBSERVER source

Methods

public abstract void registerOnBackInvokedCallback(int priority, OnBackInvokedCallback callback) source
public abstract void unregisterOnBackInvokedCallback(OnBackInvokedCallback callback) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.