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

*** ** * ** ***


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

<br />

*** ** * ** ***

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

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

## Summary

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `[getName](https://developer.android.com/reference/androidx/annotation/InspectableProperty.EnumEntry#getName())()` **This method is deprecated.** Replaced by the androidx.resourceinpsection package. |
| `final int` | `[getValue](https://developer.android.com/reference/androidx/annotation/InspectableProperty.EnumEntry#getValue())()` **This method is deprecated.** Replaced by the androidx.resourceinpsection package. |

## Public methods

### getName

```
public final @NonNull String [getName](https://developer.android.com/reference/androidx/annotation/InspectableProperty.EnumEntry#getName())()
```

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

The string name of this enumeration value.

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | A string name |

### getValue

```
public final int [getValue](https://developer.android.com/reference/androidx/annotation/InspectableProperty.EnumEntry#getValue())()
```

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

The integer value of this enumeration value.

| Returns |
|---|---|
| `int` | An integer value |