# 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)

*** ** * ** ***


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

<br />

*** ** * ** ***

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/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/androidx/navigation/NavigatorProvider#addNavigator(androidx.navigation.Navigator)` |   |
| `https://developer.android.com/reference/androidx/navigation/NavigatorProvider#getNavigator(kotlin.String)` |   |

## Summary

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/navigation/Navigator.Name#getValue()()` |

## Public methods

### getValue

```
public final @NonNull String getValue()
```