# OnBackCompletedFallback

Artifact: [androidx.navigationevent:navigationevent](https://developer.android.com/jetpack/androidx/releases/navigationevent) [View Source](https://cs.android.com/search?q=file:androidx/navigationevent/OnBackCompletedFallback.kt+class:androidx.navigationevent.OnBackCompletedFallback) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/navigationevent#1.0.0)

*** ** * ** ***


```
public fun interface OnBackCompletedFallback
```

<br />

*** ** * ** ***

A listener that provides a final fallback action for unhandled `backCompleted` callbacks.

This is typically used to provide a default system behavior, like finishing an `Activity`, when no other part of the application consumes the back navigation event.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/navigationevent/OnBackCompletedFallback#onBackCompletedFallback()()` Called when a `backCompleted` callback is dispatched but not handled by any `https://developer.android.com/reference/androidx/navigationevent/NavigationEventHandler`. |

## Public methods

### onBackCompletedFallback

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/navigationevent#1.0.0)

```
abstract void onBackCompletedFallback()
```

Called when a `backCompleted` callback is dispatched but not handled by any `https://developer.android.com/reference/androidx/navigationevent/NavigationEventHandler`.