Send feedback AssistActionBuilder Stay organized with collections Save and categorize content based on your preferences.
Constructs an action to report completion of the Action triggered from Assistant.
Inherited Constant Summary Public Constructor Summary Inherited Method Summary From class com.google.firebase.appindexing.Action.Builder
Action build ()
Builds the action.
Action.Builder put (
String key, double... values)
Sets one or multiple double values for a property, replacing its previous values.
Action.Builder put (
String key, boolean... values)
Sets one or multiple boolean values for a property, replacing its previous values.
Action.Builder Action.Builder put (
String key,
String... values)
Sets one or multiple string values for a property, replacing its previous values.
Action.Builder put (
String key, long... values)
Sets one or multiple long values for a property, replacing its previous values.
Action.Builder Action.Builder final Action.Builder setName (
String name)
Sets the name of the action (e.g. Ride using Waymo LLC).
Action.Builder setObject (
String name,
String url,
String webUrl)
Sets the object that the action is taken on (e.g. the article being viewed, or the song being listened to).
Action.Builder setObject (
String name,
String url)
Sets the object that the action is taken on (e.g. the article being viewed, or the song being listened to).
Action.Builder final Action.Builder
From class java.lang.Object
Object clone ()
boolean void finalize ()
final Class <?> getClass ()
int hashCode ()
final void notify ()
final void notifyAll ()
String toString ()
final void wait (long arg0, int arg1)
final void wait (long arg0)
final void wait ()
Public Constructors public AssistActionBuilder ()
Public Methods
Sets the token which identifies the assist action.
Parameters actionToken The action token extracted from triggering Intent .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-02-11 UTC."],[],[]]