Action
Stay organized with collections
Save and categorize content based on your preferences.
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,["# Action\n\npublic interface **Action** \nRepresents an action taken by the user within the app.\n\nActions are constucted via [Action.Builder](/docs/reference/android/com/google/firebase/appindexing/Action.Builder)\nand logged via [FirebaseUserActions.start(Action)](/docs/reference/android/com/google/firebase/appindexing/FirebaseUserActions#start(com.google.firebase.appindexing.Action)) and [FirebaseUserActions.end(Action)](/docs/reference/android/com/google/firebase/appindexing/FirebaseUserActions#end(com.google.firebase.appindexing.Action)). Convenience methods to construct common types of\nactions are available via [Actions](/docs/reference/android/com/google/firebase/appindexing/builders/Actions). \n\n### Nested Class Summary\n\n|-----------|---|---|----------------------------------------------------------------------------------------------------------|\n| class | [Action.Builder](/docs/reference/android/com/google/firebase/appindexing/Action.Builder) || The builder for [Action](/docs/reference/android/com/google/firebase/appindexing/Action). |\n| interface | [Action.Metadata](/docs/reference/android/com/google/firebase/appindexing/Action.Metadata) || Represents the metadata for an [Action](/docs/reference/android/com/google/firebase/appindexing/Action). |"]]