blob: 92e36b1a1c41912ce31f3f26c82440efb8061a6e [file] [log] [blame]
<html devsite="true">
<head>
<title>DragInteraction</title>
{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<div id="metadata-info-block"></div>
<h1>DragInteraction</h1>
<p>
<pre>interface <a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.html">DragInteraction</a> : <a href="/reference/kotlin/androidx/compose/foundation/interaction/Interaction.html">Interaction</a></pre>
</p>
<div class="devsite-table-wrapper"><devsite-expandable><span class="expand-control jd-sumtable-subclasses">Known direct subclasses
<div class="showalways" id="subclasses-direct"><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Cancel.html">DragInteraction.Cancel</a>, <a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Start.html">DragInteraction.Start</a>, <a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Stop.html">DragInteraction.Stop</a></div>
</span>
<div id="subclasses-direct-summary">
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<tbody class="list">
<tr>
<td width="40%"><code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Cancel.html">DragInteraction.Cancel</a></code></td>
<td>
<p>An interaction representing the cancellation of a <code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Start.html">Start</a></code> event on a component.</p>
</td>
</tr>
<tr>
<td width="40%"><code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Start.html">DragInteraction.Start</a></code></td>
<td>
<p>An interaction representing a drag event on a component.</p>
</td>
</tr>
<tr>
<td width="40%"><code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Stop.html">DragInteraction.Stop</a></code></td>
<td>
<p>An interaction representing the stopping of a <code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Start.html">Start</a></code> event on a component.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</devsite-expandable> </div>
<hr>
<p>An interaction related to drag events.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">See also</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td width="40%"><code><a href="/reference/kotlin/androidx/compose/foundation/gestures/package-summary.html#(androidx.compose.ui.Modifier).draggable(androidx.compose.foundation.gestures.DraggableState,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Boolean,kotlin.coroutines.SuspendFunction2,kotlin.coroutines.SuspendFunction2,kotlin.Boolean)">draggable</a></code></td>
<td></td>
</tr>
<tr>
<td width="40%"><code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Start.html">DragInteraction.Start</a></code></td>
<td></td>
</tr>
<tr>
<td width="40%"><code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Stop.html">DragInteraction.Stop</a></code></td>
<td></td>
</tr>
<tr>
<td width="40%"><code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Cancel.html">DragInteraction.Cancel</a></code></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%"><h3>Nested types</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td>
<div><code>class <a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Cancel.html">DragInteraction.Cancel</a> : <a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.html">DragInteraction</a></code></div>
<p>An interaction representing the cancellation of a <code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Start.html">Start</a></code> event on a component.</p>
</td>
</tr>
<tr>
<td>
<div><code>class <a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Start.html">DragInteraction.Start</a> : <a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.html">DragInteraction</a></code></div>
<p>An interaction representing a drag event on a component.</p>
</td>
</tr>
<tr>
<td>
<div><code>class <a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Stop.html">DragInteraction.Stop</a> : <a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.html">DragInteraction</a></code></div>
<p>An interaction representing the stopping of a <code><a href="/reference/kotlin/androidx/compose/foundation/interaction/DragInteraction.Start.html">Start</a></code> event on a component.</p>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>