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 NavigationEventHistory state in the connected NavigationEventDispatcher changes.

android
From androidx.navigationevent.OnBackInvokedInput
open Unit
onHasEnabledHandlersChanged(hasEnabledHandlers: Boolean)

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

android
open Unit

Called after this NavigationEventInput is removed from a NavigationEventDispatcher.

android

Public constructors

OnBackInvokedOverlayInput

OnBackInvokedOverlayInput(
    onBackInvokedDispatcher: OnBackInvokedDispatcher
)
Parameters
onBackInvokedDispatcher: OnBackInvokedDispatcher

the OnBackInvokedDispatcher to use.