public final class Actions extends Object
Actions
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.
[null,null,["Last updated 2021-02-11 UTC."],[],[],null,["# Actions\n\npublic final class **Actions** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nProvides convenience methods to construct common type of actions. \n\n### Public Constructor Summary\n\n|---|-------------------------------------------------------------------------------------------------|\n| | [Actions](/docs/reference/android/com/google/firebase/appindexing/builders/Actions#Actions())() |\n\n### Public Method Summary\n\n|---------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Action](/docs/reference/android/com/google/firebase/appindexing/Action) | [newView](/docs/reference/android/com/google/firebase/appindexing/builders/Actions#newView(java.lang.String,%20java.lang.String))([String](//developer.android.com/reference/java/lang/String.html) name, [String](//developer.android.com/reference/java/lang/String.html) url) Constructs a \"view\" action. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public **Actions** ()\n\nPublic Methods\n--------------\n\n#### public static [Action](/docs/reference/android/com/google/firebase/appindexing/Action)\n**newView** ([String](//developer.android.com/reference/java/lang/String.html) name, [String](//developer.android.com/reference/java/lang/String.html) url)\n\nConstructs a \"view\" action. \n\n##### Parameters\n\n| name | The name of the object being viewed (e.g. the title of an article). |\n| url | The URL of the object that is viewed (this URL needs to be handled by the app to take the user to the right place). |\n|------|---------------------------------------------------------------------------------------------------------------------|"]]