---
title: "RevealActionType"
description: "Different values which can trigger the state change from one [RevealValue] to another. These are
not set by themselves and need to be set appropriately with [RevealState.snapTo] and
[RevealState.animateTo]."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@ExperimentalWearMaterialApi
public value class RevealActionType private constructor(public val value: Int)
```


Different values which can trigger the state change from one `RevealValue` to another. These are
not set by themselves and need to be set appropriately with `RevealState.snapTo` and
`RevealState.animateTo`.


## Companion Object

#### Properties

<div class='sourceset sourceset-android'>Android</div>


```kotlin
public val PrimaryAction: RevealActionType
```


Represents the primary action composable of `SwipeToReveal`. This corresponds to the
mandatory `primaryAction` parameter of `SwipeToReveal`.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
public val SecondaryAction: RevealActionType
```


Represents the secondary action composable of `SwipeToReveal`. This corresponds to the
optional `secondaryAction` composable of `SwipeToReveal`.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
public val UndoAction: RevealActionType
```


Represents the undo action composable of `SwipeToReveal`. This corresponds to the
`undoAction` composable of `SwipeToReveal` which is shown once an action is performed.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
public val None: RevealActionType
```


Default value when none of the above are applicable.





