com.google.firebase.appindexing
Stay organized with collections
Save and categorize content based on your preferences.
The Firebase App Indexing API lets apps index personal content and log user actions with
Google. For more information, see:
//g.co/AppIndexing.
This package contains all the classes needed to integrate with the API. For indexing
content in the app, refer to FirebaseAppIndex
.
For logging user actions, refer to FirebaseUserActions
.
Interfaces
Classes
Exceptions
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,["# com.google.firebase.appindexing\n\nThe Firebase App Indexing API lets apps index personal content and log user actions with Google. For more information, see: \u003c//g.co/AppIndexing\u003e.\n\nThis package contains all the classes needed to integrate with the API. For indexing\ncontent in the app, refer to [FirebaseAppIndex](/docs/reference/android/com/google/firebase/appindexing/FirebaseAppIndex).\nFor logging user actions, refer to [FirebaseUserActions](/docs/reference/android/com/google/firebase/appindexing/FirebaseUserActions).\n\n### Interfaces\n\n|--------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|\n| [Action](/docs/reference/android/com/google/firebase/appindexing/Action) | Represents an action taken by the user within the app. |\n| [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). |\n| [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable) | Represents an indexable unit. |\n| [Indexable.Metadata](/docs/reference/android/com/google/firebase/appindexing/Indexable.Metadata) | Represents the metadata for an [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable). |\n\n### Classes\n\n|------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Action.Builder](/docs/reference/android/com/google/firebase/appindexing/Action.Builder) | The builder for [Action](/docs/reference/android/com/google/firebase/appindexing/Action). |\n| [Action.Metadata.Builder](/docs/reference/android/com/google/firebase/appindexing/Action.Metadata.Builder) | The builder for [Action.Metadata](/docs/reference/android/com/google/firebase/appindexing/Action.Metadata). |\n| [AndroidAppUri](/docs/reference/android/com/google/firebase/appindexing/AndroidAppUri) | Represents an Android app URI. |\n| [FirebaseAppIndex](/docs/reference/android/com/google/firebase/appindexing/FirebaseAppIndex) | Provides methods for managing the index, by inserting, updating and removing [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable)s in the app. |\n| [FirebaseUserActions](/docs/reference/android/com/google/firebase/appindexing/FirebaseUserActions) | Provides methods for logging actions that the user takes in the app. |\n| [Indexable.Builder](/docs/reference/android/com/google/firebase/appindexing/Indexable.Builder) | The builder for [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable). |\n| [Indexable.Metadata.Builder](/docs/reference/android/com/google/firebase/appindexing/Indexable.Metadata.Builder) | The builder for [Indexable.Metadata](/docs/reference/android/com/google/firebase/appindexing/Indexable.Metadata). |\n| [Scope](/docs/reference/android/com/google/firebase/appindexing/Scope) | The Scope options for an [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable). |\n\n### Exceptions\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FirebaseAppIndexingException](/docs/reference/android/com/google/firebase/appindexing/FirebaseAppIndexingException) | Class of exceptions thrown by the Firebase App Indexing API. |\n| [FirebaseAppIndexingInvalidArgumentException](/docs/reference/android/com/google/firebase/appindexing/FirebaseAppIndexingInvalidArgumentException) | The exception that is thrown if an invalid argument is provided to one of the Firebase App Indexing API methods. |\n| [FirebaseAppIndexingTooManyArgumentsException](/docs/reference/android/com/google/firebase/appindexing/FirebaseAppIndexingTooManyArgumentsException) | The exception that is thrown if the number of arguments passed to a Firebase App Indexing API method in a single call exceeds the allowed maximum of [Indexable.MAX_INDEXABLES_TO_BE_UPDATED_IN_ONE_CALL](/docs/reference/android). |"]]