IOnBackInvokedDispatcher.PrioritySystemNavigationObserver Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Priority level of OnBackInvokedCallback
s designed to observe system-level back
handling.
[Android.Runtime.Register("PRIORITY_SYSTEM_NAVIGATION_OBSERVER", ApiSince=36)]
public const int PrioritySystemNavigationObserver = -2;
[<Android.Runtime.Register("PRIORITY_SYSTEM_NAVIGATION_OBSERVER", ApiSince=36)>]
val mutable PrioritySystemNavigationObserver : int
Field Value
Value = -2- Attributes
Remarks
Priority level of OnBackInvokedCallback
s designed to observe system-level back handling.
Callbacks registered with this priority do not consume back events. They receive back events whenever the system handles a back navigation and have no impact on the normal back navigation flow. Useful for logging or analytics.
Only one callback with #PRIORITY_SYSTEM_NAVIGATION_OBSERVER
can be registered at a time.
Java documentation for android.window.OnBackInvokedDispatcher.PRIORITY_SYSTEM_NAVIGATION_OBSERVER
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.