@ExperimentalWearFoundationApi
value class RevealActionType


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.

Summary

Public companion properties

RevealActionType

Default value when none of the above are applicable.

RevealActionType

Represents the primary action composable of SwipeToReveal.

RevealActionType

Represents the secondary action composable of SwipeToReveal.

RevealActionType

Represents the undo action composable of SwipeToReveal.

Public properties

Int

Public companion properties

None

Added in 1.4.0-alpha07
val NoneRevealActionType

Default value when none of the above are applicable.

PrimaryAction

Added in 1.4.0-alpha07
val PrimaryActionRevealActionType

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

SecondaryAction

Added in 1.4.0-alpha07
val SecondaryActionRevealActionType

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

UndoAction

Added in 1.4.0-alpha07
val UndoActionRevealActionType

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

Public properties

value

Added in 1.4.0-alpha07
val valueInt