NavigationInputHandler



Provides input to the given NavigationEventDispatcher.

TODO(mgalhardo): Consider moving this to commonMain once the design of InputHandler for other platforms is better understood.

Summary

Public constructors

android

Public functions

Unit

Sets the OnBackInvokedDispatcher for handling system back for Android SDK T+.

android

Public constructors

NavigationInputHandler(dispatcher: NavigationEventDispatcher)

Public functions

setOnBackInvokedDispatcher

@RequiresApi(value = 33)
fun setOnBackInvokedDispatcher(invoker: OnBackInvokedDispatcher): Unit

Sets the OnBackInvokedDispatcher for handling system back for Android SDK T+.

Parameters
invoker: OnBackInvokedDispatcher

the OnBackInvokedDispatcher to be set on this dispatcher