# NavBackStackEntryInfo

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

  ```
  class NavBackStackEntryInfo : NavigationEventInfo
  ```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.navigationevent.NavigationEventInfo](https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventInfo) ||
|   | ↳ | [androidx.navigation.compose.NavBackStackEntryInfo](https://developer.android.com/reference/kotlin/androidx/navigation/compose/NavBackStackEntryInfo) |

*** ** * ** ***

Snapshot of a back stack entry in a `https://developer.android.com/reference/kotlin/androidx/navigation/NavController`.

Provides context for navigation transition animations such as predictive back.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/navigation/compose/NavBackStackEntryInfo#NavBackStackEntryInfo(androidx.navigation.NavBackStackEntry)(visibleEntry: https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry?)` | Cmn |

| ### Public functions |
|---|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/navigation/compose/NavBackStackEntryInfo#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/navigation/compose/NavBackStackEntryInfo#hashCode()()` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/navigation/compose/NavBackStackEntryInfo#toString()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry?` | `https://developer.android.com/reference/kotlin/androidx/navigation/compose/NavBackStackEntryInfo#visibleEntry()` back stack entry associated with this snapshot | Cmn |

### Inherited properties

From [androidx.navigationevent.NavigationEventInfo](https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventInfo) `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` `@https://developer.android.com/reference/kotlin/androidx/navigationevent/ExperimentalNavigationEventApi
https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventInfo#title()`

Defines the title of the navigation destination.
Cmn `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` `@https://developer.android.com/reference/kotlin/androidx/navigationevent/ExperimentalNavigationEventApi
https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventInfo#url()`

Defines the URL or path representation of the navigation destination.
Cmn

## Public constructors

### NavBackStackEntryInfo

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

```
NavBackStackEntryInfo(visibleEntry: NavBackStackEntry? = null)
```

| Parameters |
|---|---|
| `visibleEntry: https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry? = null` | back stack entry associated with this snapshot |

## Public functions

### equals

Cmn

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

Cmn

```
open fun hashCode(): Int
```

### toString

Cmn

```
open fun toString(): String
```

## Public properties

### visibleEntry

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

```
val visibleEntry: NavBackStackEntry?
```

back stack entry associated with this snapshot