ActionConstants


@ExperimentalAppSearchApi
public final class ActionConstants


Wrapper class for action constants.

Summary

Constants

static final int

Click action type.

static final int

Dismiss action type.

static final int

Impression action type.

static final int

Search action type.

static final int

Unknown action type.

Constants

ACTION_TYPE_CLICK

Added in 1.2.0-alpha02
public static final int ACTION_TYPE_CLICK = 2

Click action type.

It is the action type for ClickAction.

ACTION_TYPE_DISMISS

Added in 1.2.0-alpha02
public static final int ACTION_TYPE_DISMISS = 4

Dismiss action type.

It is the action type for DismissAction.

ACTION_TYPE_IMPRESSION

Added in 1.2.0-alpha02
public static final int ACTION_TYPE_IMPRESSION = 3

Impression action type.

It is the action type for ImpressionAction.

ACTION_TYPE_SEARCH

Added in 1.2.0-alpha02
public static final int ACTION_TYPE_SEARCH = 1

Search action type.

It is the action type for SearchAction.

ACTION_TYPE_UNKNOWN

Added in 1.2.0-alpha02
public static final int ACTION_TYPE_UNKNOWN = 0

Unknown action type.

It is defined for abstract action class and compatibility, so it should not be used in any concrete instances.