# NavDestination.ClassType

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

*** ** * ** ***

Common/AllAndroid/JVMJavaScript
- Cmn

  ```
  @Retention(value = AnnotationRetention.BINARY)
  @Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS])
  annotation NavDestination.ClassType
  ```

*** ** * ** ***

This optional annotation allows tooling to offer auto-complete for the `android:name` attribute. This should match the class type passed to [parseClassFromName](https://developer.android.com/reference/androidx/navigation/NavDestination#parseClassFromName(android.content.Context,kotlin.String,java.lang.Class)) when parsing the `android:name` attribute.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/navigation/NavDestination.ClassType#ClassType(kotlin.reflect.KClass)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<*>)` | Cmn android |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<*>` | `https://developer.android.com/reference/kotlin/androidx/navigation/NavDestination.ClassType#value()` | Cmn android |

## Public constructors

### ClassType

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

```
ClassType(value: KClass<*>)
```

## Public properties

### value

Cmn android

```
val value: KClass<*>
```