blob: 09a832dfb173354cd12b351b3b4a0e8d36b25011 [file] [log] [blame]
<html devsite="true">
<head>
<title>GetTargetFragmentRequestCodeUsageViolation</title>
{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<div id="metadata-info-block"></div>
<h1>GetTargetFragmentRequestCodeUsageViolation</h1>
<p>
<pre>public final class <a href="/reference/androidx/fragment/app/strictmode/GetTargetFragmentRequestCodeUsageViolation.html">GetTargetFragmentRequestCodeUsageViolation</a> extends <a href="/reference/androidx/fragment/app/strictmode/TargetFragmentUsageViolation.html">TargetFragmentUsageViolation</a></pre>
</p>
<div class="devsite-table-wrapper">
<table class="jd-inheritance-table">
<tbody>
<tr>
<td colspan="7"><a href="https://developer.android.com/reference/java/lang/Object.html">java.lang.Object</a></td>
</tr>
<tr>
<td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;↳</td>
<td colspan="6"><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">kotlin.Throwable</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;↳</td>
<td colspan="5"><a href="https://developer.android.com/reference/java/lang/Exception.html">java.lang.Exception</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;↳</td>
<td colspan="4"><a href="https://developer.android.com/reference/java/lang/RuntimeException.html">java.lang.RuntimeException</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;↳</td>
<td colspan="3"><a href="/reference/androidx/fragment/app/strictmode/Violation.html">androidx.fragment.app.strictmode.Violation</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;↳</td>
<td colspan="2"><a href="/reference/androidx/fragment/app/strictmode/TargetFragmentUsageViolation.html">androidx.fragment.app.strictmode.TargetFragmentUsageViolation</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;↳</td>
<td colspan="1"><a href="/reference/androidx/fragment/app/strictmode/GetTargetFragmentRequestCodeUsageViolation.html">androidx.fragment.app.strictmode.GetTargetFragmentRequestCodeUsageViolation</a></td>
</tr>
</tbody>
</table>
</div>
<hr>
<p>See <code><a href="/reference/androidx/fragment/app/strictmode/FragmentStrictMode.Policy.Builder.html#detectTargetFragmentUsage()">FragmentStrictMode.Policy.Builder.detectTargetFragmentUsage</a></code>.</p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
<th colspan="100%"><h3>Inherited fields</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><devsite-expandable><span class="expand-control">From <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">kotlin.Throwable</a></span>
<div class="devsite-table-wrapper">
<table class="responsive">
<tbody class="list">
<tr>
<td width="40%"><code><a href="https://developer.android.com/reference/java/lang/Throwable.html">Throwable</a></code></td>
<td>
<div><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/cause.html">cause</a></code></div>
</td>
</tr>
<tr>
<td width="40%"><code><a href="https://developer.android.com/reference/java/lang/String.html">String</a></code></td>
<td>
<div><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/message.html">message</a></code></div>
</td>
</tr>
</tbody>
</table>
</div>
</devsite-expandable> </td>
</tr>
<tr>
<td><devsite-expandable><span class="expand-control">From <a href="/reference/androidx/fragment/app/strictmode/Violation.html">androidx.fragment.app.strictmode.Violation</a></span>
<div class="devsite-table-wrapper">
<table class="responsive">
<tbody class="list">
<tr>
<td width="40%"><code>final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/fragment/app/Fragment.html">Fragment</a></code></td>
<td>
<div><code><a href="/reference/androidx/fragment/app/strictmode/Violation.html#fragment()">fragment</a></code></div>
<p>Gets the <code><a href="/reference/androidx/fragment/app/Fragment.html">Fragment</a></code> causing the Violation.</p>
</td>
</tr>
</tbody>
</table>
</div>
</devsite-expandable> </td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
<th colspan="100%"><h3>Inherited methods</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><devsite-expandable><span class="expand-control">From <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">kotlin.Throwable</a></span>
<div class="devsite-table-wrapper">
<table class="responsive">
<tbody class="list">
<tr>
<td width="40%"><code>final void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#addSuppressed(kotlin.Throwable)">addSuppressed</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Throwable.html">Throwable</a>&nbsp;p0)</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Throwable.html">Throwable</a></code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#fillInStackTrace()">fillInStackTrace</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/String.html">String</a></code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#getLocalizedMessage()">getLocalizedMessage</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> StackTraceElement[]</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#getStackTrace()">getStackTrace</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Throwable[]</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#getSuppressed()">getSuppressed</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Throwable.html">Throwable</a></code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#initCause(kotlin.Throwable)">initCause</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Throwable.html">Throwable</a>&nbsp;p0)</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace()">printStackTrace</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)">printStackTrace</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/io/PrintStream.html">PrintStream</a>&nbsp;p0)</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)">printStackTrace</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/io/PrintWriter.html">PrintWriter</a>&nbsp;p0)</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#setStackTrace(kotlin.Array[java.lang.StackTraceElement])">setStackTrace</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> StackTraceElement[]&nbsp;p0)</code></div>
</td>
</tr>
</tbody>
</table>
</div>
</devsite-expandable> </td>
</tr>
</tbody>
</table>
</div>
</body>
</html>