OnBackInvokedOverlayInput



Provides input to a NavigationEventDispatcher by registering an OnBackInvokedCallback with the OnBackInvokedDispatcher.PRIORITY_OVERLAY priority to onBackInvokedDispatcher. The input will unregister this callback when there's no enabled NavigationEventHandler with NavigationEventDispatcher.PRIORITY_OVERLAY priority.

Summary

Public constructors

OnBackInvokedOverlayInput(
    onBackInvokedDispatcher: OnBackInvokedDispatcher
)
android

Inherited functions

From androidx.navigationevent.NavigationEventInput
Unit

Notifies the dispatcher that the ongoing TRANSITIONING_BACK navigation gesture has been cancelled.

android
Unit

Notifies the dispatcher that the ongoing TRANSITIONING_BACK navigation gesture has completed.

android
Unit

Notifies the dispatcher that an ongoing TRANSITIONING_BACK navigation gesture has progressed.

android
Unit

Notifies the dispatcher that a TRANSITIONING_BACK navigation gesture has started.

android
Unit

Notifies the dispatcher that the ongoing TRANSITIONING_FORWARD navigation gesture has been cancelled.

android
Unit

Notifies the dispatcher that the ongoing TRANSITIONING_FORWARD navigation gesture has completed.

android
Unit

Notifies the dispatcher that an ongoing TRANSITIONING_FORWARD navigation gesture has progressed.

android
Unit

Notifies the dispatcher that a TRANSITIONING_FORWARD navigation gesture has started.

android
open Unit

Called after this NavigationEventInput is added to dispatcher.

android
open Unit

Called when the enabled state of forward handlers in the connected NavigationEventDispatcher changes.

android
open Unit

Called when the enabled state of handlers (either back or forward) in the connected NavigationEventDispatcher changes.

android
open Unit

Called when the NavigationEventHistory state in the connected NavigationEventDispatcher changes.

android
From androidx.navigationevent.OnBackInvokedInput
open Unit
onHasEnabledBackHandlersChanged(hasEnabledBackHandlers: Boolean)

Called when the enabled state of back handlers in the connected NavigationEventDispatcher changes.

android
open Unit

Called after this NavigationEventInput is removed from a NavigationEventDispatcher.

android

Inherited properties

From androidx.navigationevent.NavigationEventInput
Boolean

Tracks whether the connected NavigationEventDispatcher has any enabled NavigationEventHandler for back navigation matching this input's priority scope.

android
Boolean

Tracks whether the connected NavigationEventDispatcher has any enabled NavigationEventHandler for forward navigation matching this input's priority scope.

android
Boolean

Tracks whether the connected NavigationEventDispatcher has any enabled NavigationEventHandler matching this input's priority scope.

android

Public constructors

OnBackInvokedOverlayInput

OnBackInvokedOverlayInput(
    onBackInvokedDispatcher: OnBackInvokedDispatcher
)
Parameters
onBackInvokedDispatcher: OnBackInvokedDispatcher

the OnBackInvokedDispatcher to use.