blob: 8874ddda3d4aaa001b66397c7df95f628010ec76 [file] [log] [blame]
<html devsite="true">
<head>
<title>ViewDebug</title>
{% setvar book_path %}/reference/kotlin/dokkatest/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<div id="metadata-info-block"></div>
<h1>ViewDebug</h1>
<p>
<pre>class <a href="/reference/kotlin/dokkatest/platform/ViewDebug.html">ViewDebug</a></pre>
</p>
<hr>
<p>Various debugging/tracing tools related to View and the view hierarchy.</p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="100%"><h3>Nested types</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td width="40%"><code>@<a href="https://developer.android.com/reference/java/lang/annotation/Target.html">Target</a>(value&nbsp;=&nbsp;[ElementType.FIELD,&nbsp;ElementType.METHOD])<br>@<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html">Retention</a>(value&nbsp;=&nbsp;RetentionPolicy.RUNTIME)<br>annotation <a href="/reference/kotlin/dokkatest/platform/ViewDebug.CapturedViewProperty.html">ViewDebug.CapturedViewProperty</a></code></td>
<td>
<p>This annotation can be used to mark fields and methods to be dumped when the view is captured.</p>
</td>
</tr>
<tr>
<td width="40%"><code>@<a href="https://developer.android.com/reference/java/lang/annotation/Target.html">Target</a>(value&nbsp;=&nbsp;[ElementType.FIELD,&nbsp;ElementType.METHOD])<br>@<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html">Retention</a>(value&nbsp;=&nbsp;RetentionPolicy.RUNTIME)<br>annotation <a href="/reference/kotlin/dokkatest/platform/ViewDebug.ExportedProperty.html">ViewDebug.ExportedProperty</a></code></td>
<td>
<p>This annotation can be used to mark fields and methods to be dumped by the view server.</p>
</td>
</tr>
<tr>
<td width="40%"><code>@<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>annotation <a href="/reference/kotlin/dokkatest/platform/ViewDebug.FlagToString.html">ViewDebug.FlagToString</a></code></td>
<td>
<p>Defines a mapping from a flag to a String.</p>
</td>
</tr>
<tr>
<td width="40%"><code>enum <a href="/reference/kotlin/dokkatest/platform/ViewDebug.HierarchyTraceType.html">ViewDebug.HierarchyTraceType</a></code></td>
<td>
<p><strong>This enum is deprecated.</strong>
<p>This enum is now unused</p>
</p>
</td>
</tr>
<tr>
<td width="40%"><code>@<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>annotation <a href="/reference/kotlin/dokkatest/platform/ViewDebug.IntToString.html">ViewDebug.IntToString</a></code></td>
<td>
<p>Defines a mapping from an int value to a String.</p>
</td>
</tr>
<tr>
<td width="40%"><code>enum <a href="/reference/kotlin/dokkatest/platform/ViewDebug.RecyclerTraceType.html">ViewDebug.RecyclerTraceType</a></code></td>
<td>
<p><strong>This enum is deprecated.</strong>
<p>This enum is now unused</p>
</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="100%"><h3>Constants</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td width="40%"><code>const <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td>
<td>
<div><code><a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#TRACE_HIERARCHY()">TRACE_HIERARCHY</a> = false</code></div>
<p><strong>This property is deprecated.</strong>
<p>This flag is now unused</p>
</p>
</td>
</tr>
<tr>
<td width="40%"><code>const <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td>
<td>
<div><code><a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#TRACE_RECYCLER()">TRACE_RECYCLER</a> = false</code></div>
<p><strong>This property is deprecated.</strong>
<p>This flag is now unused</p>
</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="100%"><h3>Public constructors</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td>
<div><code><a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#ViewDebug()">ViewDebug</a>()</code></div>
</td>
</tr>
</tbody>
</table>
</div>
<h2>Constants</h2>
<div><a name="getTRACE_HIERARCHY()"></a><a name="setTRACE_HIERARCHY()"></a><a name="getTRACE_HIERARCHY--"></a><a name="setTRACE_HIERARCHY--"></a>
<h3 class="api-name" id="TRACE_HIERARCHY()">TRACE_HIERARCHY</h3>
<pre class="api-signature no-pretty-print">const&nbsp;val&nbsp;<a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#TRACE_HIERARCHY()">TRACE_HIERARCHY</a> = false:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
<aside class="caution"><strong>This property is deprecated.</strong><br>
<p>This flag is now unused</p>
</aside>
</div>
<div><a name="getTRACE_RECYCLER()"></a><a name="setTRACE_RECYCLER()"></a><a name="getTRACE_RECYCLER--"></a><a name="setTRACE_RECYCLER--"></a>
<h3 class="api-name" id="TRACE_RECYCLER()">TRACE_RECYCLER</h3>
<pre class="api-signature no-pretty-print">const&nbsp;val&nbsp;<a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#TRACE_RECYCLER()">TRACE_RECYCLER</a> = false:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
<aside class="caution"><strong>This property is deprecated.</strong><br>
<p>This flag is now unused</p>
</aside>
</div>
<h2>Public constructors</h2>
<div><a name="ViewDebug--"></a><a name="viewdebug"></a>
<h3 class="api-name" id="ViewDebug()">ViewDebug</h3>
<pre class="api-signature no-pretty-print"><a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#ViewDebug()">ViewDebug</a>()</pre>
</div>
</body>
</html>