# Navigator.Name

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

*** ** * ** ***

Common/AllAndroid/JVMJavaScript
- Cmn

  ```
  @Retention(value = AnnotationRetention.RUNTIME)
  @Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS])
  annotation Navigator.Name
  ```

*** ** * ** ***

This annotation should be added to each Navigator subclass in Android to denote the default name used to register the Navigator with a `https://developer.android.com/reference/kotlin/androidx/navigation/NavigatorProvider`.

On all non-Android platforms, this annotation will do nothing and you should set the name via the constructor or it will default to the className with any "Navigator" suffix removed. (i.e. DestinationNavigator will become Destination.)

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/navigation/NavigatorProvider#addNavigator(androidx.navigation.Navigator)` |   |
| `https://developer.android.com/reference/kotlin/androidx/navigation/NavigatorProvider#getNavigator(kotlin.String)` |   |

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/navigation/Navigator.Name#Name(kotlin.String)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/navigation/Navigator.Name#value()` | Cmn |

## Public constructors

### Name

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

```
Name(value: String)
```

## Public properties

### value

Cmn

```
val value: String
```