# OneHandedGestureAction

Artifact: [androidx.wear.compose:compose-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/material3/onehandedgesture/OneHandedGestureAction.kt+class:androidx.wear.compose.material3.onehandedgesture.OneHandedGestureAction) Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.7.0)


```
value class OneHandedGestureAction
```

<br />

*** ** * ** ***

Defines the distinct actions of one-handed gestures supported by the system.

When a gesture is performed, the system first identifies all handlers registered for that specific `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/onehandedgesture/OneHandedGestureAction`. From that set, it identifies the handlers with the highest assigned priority.

Handlers with the highest priority take precedence. It is not recommended to register multiple gestures for the same action and priority (but if that is the case, all of them will be actioned)

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/onehandedgesture/OneHandedGestureAction` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/onehandedgesture/OneHandedGestureAction#Dismiss()` The dismiss gesture action. |
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/onehandedgesture/OneHandedGestureAction` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/onehandedgesture/OneHandedGestureAction#Primary()` The primary gesture action. |

## Public companion properties

### Dismiss

```
val Dismiss: OneHandedGestureAction
```

The dismiss gesture action.

Typically used to perform a "go back" action, close a dialog or exit the current screen.

### Primary

```
val Primary: OneHandedGestureAction
```

The primary gesture action.

Depending on the current UI context, this could be a click, selection or scroll action.