| <html devsite="true"> |
| <head> |
| <title>PressInteraction</title> |
| {% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} |
| {% include "_shared/_reference-head-tags.html" %} |
| </head> |
| <body> |
| <div id="metadata-info-block"></div> |
| <h1>PressInteraction</h1> |
| <p> |
| <pre>public interface <a href="/reference/androidx/compose/foundation/interaction/PressInteraction.html">PressInteraction</a> extends <a href="/reference/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/androidx/compose/foundation/interaction/PressInteraction.Cancel.html">PressInteraction.Cancel</a>, <a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Press.html">PressInteraction.Press</a>, <a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Release.html">PressInteraction.Release</a></div> |
| </span> |
| <div id="subclasses-direct-summary"> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <tbody class="list"> |
| <tr> |
| <td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Cancel.html">PressInteraction.Cancel</a></code></td> |
| <td> |
| <p>An interaction representing the cancellation of a <code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Press.html">Press</a></code> event on a component.</p> |
| </td> |
| </tr> |
| <tr> |
| <td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Press.html">PressInteraction.Press</a></code></td> |
| <td> |
| <p>An interaction representing a press event on a component.</p> |
| </td> |
| </tr> |
| <tr> |
| <td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Release.html">PressInteraction.Release</a></code></td> |
| <td> |
| <p>An interaction representing the release of a <code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Press.html">Press</a></code> event on a component.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </devsite-expandable> </div> |
| <hr> |
| <p>An interaction related to press events.</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="/reference/androidx/compose/foundation/package-summary.html#(androidx.compose.ui.Modifier).clickable(kotlin.Boolean,kotlin.String,androidx.compose.ui.semantics.Role,kotlin.Function0)">clickable</a></code></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Press.html">PressInteraction.Press</a></code></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Release.html">PressInteraction.Release</a></code></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Cancel.html">PressInteraction.Cancel</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>Nested types</h3></th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td width="40%"><code>public final class <a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Cancel.html">PressInteraction.Cancel</a> implements <a href="/reference/androidx/compose/foundation/interaction/PressInteraction.html">PressInteraction</a></code></td> |
| <td> |
| <p>An interaction representing the cancellation of a <code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Press.html">Press</a></code> event on a component.</p> |
| </td> |
| </tr> |
| <tr> |
| <td width="40%"><code>public final class <a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Press.html">PressInteraction.Press</a> implements <a href="/reference/androidx/compose/foundation/interaction/PressInteraction.html">PressInteraction</a></code></td> |
| <td> |
| <p>An interaction representing a press event on a component.</p> |
| </td> |
| </tr> |
| <tr> |
| <td width="40%"><code>public final class <a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Release.html">PressInteraction.Release</a> implements <a href="/reference/androidx/compose/foundation/interaction/PressInteraction.html">PressInteraction</a></code></td> |
| <td> |
| <p>An interaction representing the release of a <code><a href="/reference/androidx/compose/foundation/interaction/PressInteraction.Press.html">Press</a></code> event on a component.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </body> |
| </html> |