android-components / / Action


enum class Action (source)

A user or system action that causes Fact instances to be emitted.

Enum Values

Name Summary
CLICK The user has clicked on something.
TOGGLE The user has toggled something.
COMMIT The user has committed an input (e.g. entered text into an input field and then pressed enter).
PLAY The user has started playing something.
PAUSE The user has paused something.
STOP The user has stopped something.
INTERACTION A generic interaction that can be caused by a previous action (e.g. the user clicks on a button which causes a Fact with CLICK action to be emitted. This click may causes something to load which emits a follow-up a Fact with INTERACTION action.