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.
public int PRIORITY_DEFAULT sourcepublic int PRIORITY_OVERLAY sourcepublic int PRIORITY_SYSTEM_NAVIGATION_OBSERVER sourcepublic abstract void registerOnBackInvokedCallback(int priority, OnBackInvokedCallback callback) sourcepublic abstract void unregisterOnBackInvokedCallback(OnBackInvokedCallback callback) sourceMade 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.