# NavigationEventDispatcherOwnerFactory

Added in 1.14.0-alpha03

*** ** * ** ***


```
public final class NavigationEventDispatcherOwnerFactory
```

<br />

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/navigationevent/NavigationEventDispatcherOwner` | `https://developer.android.com/reference/androidx/activity/NavigationEventDispatcherOwnerFactory#create(androidx.activity.OnBackPressedDispatcher)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher onBackPressedDispatcher)` Creates a `https://developer.android.com/reference/androidx/activity/package-summary#NavigationEventDispatcherOwner(androidx.activity.OnBackPressedDispatcher)` directly backed by the provided `https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher`. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/navigationevent/NavigationEventDispatcherOwner` | `https://developer.android.com/reference/androidx/activity/NavigationEventDispatcherOwnerFactory#create(androidx.activity.OnBackPressedDispatcherOwner)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcherOwner onBackPressedDispatcherOwner )` Creates a `https://developer.android.com/reference/androidx/activity/package-summary#NavigationEventDispatcherOwner(androidx.activity.OnBackPressedDispatcherOwner)` directly backed by the provided `https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcherOwner`. |

## Public methods

### create

Artifact: [androidx.activity:activity](https://developer.android.com/jetpack/androidx/releases/activity) [View Source](https://cs.android.com/search?q=file:androidx/activity/NavigationEventDispatcherOwnerFactory.kt+function:NavigationEventDispatcherOwner) Added in [1.14.0-alpha03](https://developer.android.com/jetpack/androidx/releases/activity#1.14.0-alpha03)

```
public static final @NonNull NavigationEventDispatcherOwner create(@NonNull OnBackPressedDispatcher onBackPressedDispatcher)
```

Creates a `https://developer.android.com/reference/androidx/activity/package-summary#NavigationEventDispatcherOwner(androidx.activity.OnBackPressedDispatcher)` directly backed by the provided `https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher`.

### create

Artifact: [androidx.activity:activity](https://developer.android.com/jetpack/androidx/releases/activity) [View Source](https://cs.android.com/search?q=file:androidx/activity/NavigationEventDispatcherOwnerFactory.kt+function:NavigationEventDispatcherOwner) Added in [1.14.0-alpha03](https://developer.android.com/jetpack/androidx/releases/activity#1.14.0-alpha03)

```
public static final @NonNull NavigationEventDispatcherOwner create(
    @NonNull OnBackPressedDispatcherOwner onBackPressedDispatcherOwner
)
```

Creates a `https://developer.android.com/reference/androidx/activity/package-summary#NavigationEventDispatcherOwner(androidx.activity.OnBackPressedDispatcherOwner)` directly backed by the provided `https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcherOwner`.