Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Methods](https://developer.android.com/reference/android/view/ViewDebug.IntToString#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/view/ViewDebug.IntToString#inhmethods)

# ViewDebug.IntToString

*** ** * ** ***


`
public
static

abstract
@interface
ViewDebug.IntToString
`


`


implements

https://developer.android.com/reference/java/lang/annotation/Annotation


`

|---|
| android.view.ViewDebug.IntToString |

<br />

*** ** * ** ***

Defines a mapping from an int value to a String. Such a mapping can be used
in an @ExportedProperty to provide more meaningful values to the end user.
**See also:**

- `https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty`

## Summary

| ### Public methods ||
|---|---|
| ` int` | ` https://developer.android.com/reference/android/view/ViewDebug.IntToString#from()() ` The original int value to map to a String. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/view/ViewDebug.IntToString#to()() ` The String to use in place of the original int value. |

| ### Inherited methods |
|---|---|
| From interface ` https://developer.android.com/reference/java/lang/annotation/Annotation ` |---|---| | ` abstract https://developer.android.com/reference/java/lang/Class<? extends https://developer.android.com/reference/java/lang/annotation/Annotation>` | ` https://developer.android.com/reference/java/lang/annotation/Annotation#annotationType()() ` Returns the annotation interface of this annotation. | | ` abstract boolean` | ` https://developer.android.com/reference/java/lang/annotation/Annotation#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) ` Returns true if the specified object represents an annotation that is logically equivalent to this one. | | ` abstract int` | ` https://developer.android.com/reference/java/lang/annotation/Annotation#hashCode()() ` Returns the hash code of this annotation. | | ` abstract https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/java/lang/annotation/Annotation#toString()() ` Returns a string representation of this annotation. | ||

## Public methods

### from

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int from ()
```

The original int value to map to a String.

<br />

| Returns ||
|---|---|
| `int` | An arbitrary int value. <br /> |

### to

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String to ()
```

The String to use in place of the original int value.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | An arbitrary non-null String. <br /> |