ActionConstants
@ExperimentalAppSearchApi
class ActionConstants
Wrapper class for action constants.
Summary
Constants |
|
|---|---|
const Int |
Click action type. |
const Int |
Dismiss action type. |
const Int |
Impression action type. |
const Int |
Search action type. |
const Int |
Unknown action type. |
Constants
ACTION_TYPE_CLICK
Added in 1.2.0-alpha02
const val ACTION_TYPE_CLICK = 2: Int
Click action type.
It is the action type for ClickAction.
ACTION_TYPE_DISMISS
Added in 1.2.0-alpha02
const val ACTION_TYPE_DISMISS = 4: Int
Dismiss action type.
It is the action type for DismissAction.
ACTION_TYPE_IMPRESSION
Added in 1.2.0-alpha02
const val ACTION_TYPE_IMPRESSION = 3: Int
Impression action type.
It is the action type for ImpressionAction.
ACTION_TYPE_SEARCH
Added in 1.2.0-alpha02
const val ACTION_TYPE_SEARCH = 1: Int
Search action type.
It is the action type for SearchAction.
ACTION_TYPE_UNKNOWN
Added in 1.2.0-alpha02
const val ACTION_TYPE_UNKNOWN = 0: Int
Unknown action type.
It is defined for abstract action class and compatibility, so it should not be used in any concrete instances.