# InspectableProperty.EnumEntry

Artifact: [androidx.annotation:annotation](https://developer.android.com/jetpack/androidx/releases/annotation) [View Source](https://cs.android.com/search?q=file:androidx/annotation/InspectableProperty.jvm.kt+class:androidx.annotation.InspectableProperty.EnumEntry) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/annotation#1.1.0) Deprecated in [1.3.0](https://developer.android.com/jetpack/androidx/releases/annotation#1.3.0)

*** ** * ** ***

Common/AllAndroid/JVM
- android

  ```
  @Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS])
  @Retention(value = AnnotationRetention.SOURCE)
  annotation InspectableProperty.EnumEntry
  ```

*** ** * ** ***

> [!CAUTION]
> **This annotation is deprecated.**   
> Replaced by the androidx.resourceinpsection package.

One entry in an enumeration packed into a primitive {int}.

## Summary

| ### Public constructors |
|---|---|
| `[EnumEntry](https://developer.android.com/reference/kotlin/androidx/annotation/InspectableProperty.EnumEntry#EnumEntry(kotlin.String,kotlin.Int))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` **This function is deprecated.** Replaced by the androidx.resourceinpsection package. | android |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/annotation/InspectableProperty.EnumEntry#name()` **This property is deprecated.** Replaced by the androidx.resourceinpsection package. | android |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/annotation/InspectableProperty.EnumEntry#value()` **This property is deprecated.** Replaced by the androidx.resourceinpsection package. | android |

## Public constructors

### EnumEntry

android Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/annotation#1.10.0) Deprecated in [1.10.0](https://developer.android.com/jetpack/androidx/releases/annotation#1.10.0)

```
[EnumEntry](https://developer.android.com/reference/kotlin/androidx/annotation/InspectableProperty.EnumEntry#EnumEntry(kotlin.String,kotlin.Int))(name: String, value: Int)
```

> [!CAUTION]
> **This function is deprecated.**   
> Replaced by the androidx.resourceinpsection package.

## Public properties

### name

android

```
val name: String
```

> [!CAUTION]
> **This property is deprecated.**   
> Replaced by the androidx.resourceinpsection package.

The string name of this enumeration value.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | A string name |

### value

android

```
val value: Int
```

> [!CAUTION]
> **This property is deprecated.**   
> Replaced by the androidx.resourceinpsection package.

The integer value of this enumeration value.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | An integer value |