blob: 92de869ca1481144cb5f8fae5e0ef22533e22a57 [file] [log] [blame]
<html devsite="true">
<head>
<title>ViewDebug.IntToString</title>
{% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<div id="metadata-info-block"></div>
<h1>ViewDebug.IntToString</h1>
<p>
<pre>@<a href="https://developer.android.com/reference/java/lang/annotation/Target.html">Target</a>(value&nbsp;=&nbsp;[ElementType.TYPE])<br>@<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html">Retention</a>(value&nbsp;=&nbsp;RetentionPolicy.RUNTIME)<br>public annotation <a href="/reference/dokkatest/platform/ViewDebug.IntToString.html">ViewDebug.IntToString</a></pre>
</p>
<hr>
<p>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.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="100%">See also</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td width="40%"><code><a href="https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html">ViewDebug.ExportedProperty</a></code></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="100%"><h3>Public methods</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td width="40%"><code>abstract int</code></td>
<td>
<div><code><a href="/reference/dokkatest/platform/ViewDebug.IntToString.html#from()">from</a>()</code></div>
<p>The original int value to map to a String.</p>
</td>
</tr>
<tr>
<td width="40%"><code>abstract <a href="https://developer.android.com/reference/java/lang/String.html">String</a></code></td>
<td>
<div><code><a href="/reference/dokkatest/platform/ViewDebug.IntToString.html#to()">to</a>()</code></div>
<p>The String to use in place of the original int value.</p>
</td>
</tr>
</tbody>
</table>
</div>
<h2>Public methods</h2>
<div><a name="from--"></a><a name="from"></a>
<h3 class="api-name" id="from()">from</h3>
<pre class="api-signature no-pretty-print">public&nbsp;abstract&nbsp;int&nbsp;<a href="/reference/dokkatest/platform/ViewDebug.IntToString.html#from()">from</a>()</pre>
<p>The original int value to map to a String.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="100%">Returns</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td width="40%"><code>int</code></td>
<td>
<p>An arbitrary int value.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div><a name="to--"></a><a name="to"></a>
<h3 class="api-name" id="to()">to</h3>
<pre class="api-signature no-pretty-print">public&nbsp;abstract&nbsp;<a href="https://developer.android.com/reference/java/lang/String.html">String</a>&nbsp;<a href="/reference/dokkatest/platform/ViewDebug.IntToString.html#to()">to</a>()</pre>
<p>The String to use in place of the original int value.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="100%">Returns</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td width="40%"><code><a href="https://developer.android.com/reference/java/lang/String.html">String</a></code></td>
<td>
<p>An arbitrary non-null String.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>