# LocalNavigationEventDispatcherOwner

Artifact: [androidx.navigationevent:navigationevent-compose](https://developer.android.com/jetpack/androidx/releases/navigationevent) [View Source](https://cs.android.com/search?q=file:androidx/navigationevent/compose/LocalNavigationEventDispatcherOwner.kt+class:androidx.navigationevent.compose.LocalNavigationEventDispatcherOwner) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/navigationevent#1.0.0) Common/AllAndroid/JVM
- Cmn

  ```
  object LocalNavigationEventDispatcherOwner
  ```

*** ** * ** ***

The CompositionLocal containing the current `https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventDispatcher`.

## Summary

| ### Public functions |
|---|---|---|
| `infix https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidedValue<https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventDispatcherOwner?>` | `https://developer.android.com/reference/kotlin/androidx/navigationevent/compose/LocalNavigationEventDispatcherOwner#provides(androidx.navigationevent.NavigationEventDispatcherOwner)( navigationEventDispatcherOwner: https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventDispatcherOwner )` Associates a `https://developer.android.com/reference/kotlin/androidx/navigationevent/compose/LocalNavigationEventDispatcherOwner#LocalNavigationEventDispatcherOwner()` key to a value in a call to `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocalProvider.composable#CompositionLocalProvider(kotlin.Array,kotlin.Function0)`. | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventDispatcherOwner?` | `https://developer.android.com/reference/kotlin/androidx/navigationevent/compose/LocalNavigationEventDispatcherOwner#current()` Returns current composition local value for the owner or `null` if one has not been provided nor is one available via findViewTreeNavigationEventDispatcherOwner on the current `androidx.compose.ui.platform.LocalView`. | Cmn |

## Public functions

### provides

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

```
infix fun provides(
    navigationEventDispatcherOwner: NavigationEventDispatcherOwner
): ProvidedValue<NavigationEventDispatcherOwner?>
```

Associates a `https://developer.android.com/reference/kotlin/androidx/navigationevent/compose/LocalNavigationEventDispatcherOwner#LocalNavigationEventDispatcherOwner()` key to a value in a call to `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocalProvider.composable#CompositionLocalProvider(kotlin.Array,kotlin.Function0)`.

## Public properties

### current

Cmn

```
val current: NavigationEventDispatcherOwner?
```

Returns current composition local value for the owner or `null` if one has not been provided nor is one available via findViewTreeNavigationEventDispatcherOwner on the current `androidx.compose.ui.platform.LocalView`.