public final class AssistActionBuilder extends Action.Builder
Constructs an action to report completion of the Action triggered from Assistant.
Inherited Constant Summary
From class com.google.firebase.appindexing.Action.Builder
| String | ACTIVATE_ACTION | The act of starting or activating something. |
| String | ADD_ACTION | The act of editing by adding something to a collection (e.g. an item to a shopping cart or movie to a queue). |
| String | BOOKMARK_ACTION | The act of bookmarking something (e.g. an article or song). |
| String | COMMENT_ACTION | The act of commenting on something (e.g. an article or social media post). |
| String | LIKE_ACTION | The act of liking something (e.g. a book, song or article). |
| String | LISTEN_ACTION | The act of listening to something (e.g. music or a podcast). |
| String | SEND_ACTION | The act of sending a message. |
| String | SHARE_ACTION | The act of sharing something (e.g. a document or social media post) |
| String | STATUS_TYPE_ACTIVE | The status of an active action (i.e. an action that has started but not yet completed). |
| String | STATUS_TYPE_COMPLETED | The status of a completed action. |
| String | STATUS_TYPE_FAILED | The status of a failed action. |
| String | VIEW_ACTION | The act of viewing something (e.g. an article or profile). |
| String | WATCH_ACTION | The act of watching something (e.g. a video, movie or TV show). |
Public Constructor Summary
Public Method Summary
| Action |
build()
Builds the action.
|
| AssistActionBuilder |
Inherited Method Summary
From class com.google.firebase.appindexing.Action.Builder
| Action |
build()
Builds the action.
|
| Action.Builder | |
| Action.Builder | |
| Action.Builder |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
| Action.Builder | |
| Action.Builder | |
| Action.Builder | |
| Action.Builder | |
| final Action.Builder | |
| Action.Builder | |
| Action.Builder | |
| Action.Builder | |
| final Action.Builder |
Public Constructors
public AssistActionBuilder ()
Public Methods
public Action build ()
Builds the action.
public AssistActionBuilder setActionToken (String actionToken)
Sets the token which identifies the assist action.
Parameters
| actionToken | The action token extracted from triggering Intent. |
|---|