com.google.android.gms.appindex
Stay organized with collections
Save and categorize content based on your preferences.
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 2024-10-31 UTC.
[[["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 2024-10-31 UTC."],[[["\u003cp\u003eThe App Indexing API uses \u003ccode\u003eAction\u003c/code\u003e to represent user interactions and \u003ccode\u003eIndexable\u003c/code\u003e for indexable content units, along with \u003ccode\u003eIndexable.Metadata\u003c/code\u003e for associated metadata.\u003c/p\u003e\n"],["\u003cp\u003eBuilders like \u003ccode\u003eAction.Builder\u003c/code\u003e, \u003ccode\u003eIndexable.Builder\u003c/code\u003e, and \u003ccode\u003eIndexable.Metadata.Builder\u003c/code\u003e help construct these objects.\u003c/p\u003e\n"],["\u003cp\u003eDirect usage of \u003ccode\u003eAppIndex\u003c/code\u003e and \u003ccode\u003eUserActions\u003c/code\u003e via the play-services-appindex SDK is not supported.\u003c/p\u003e\n"],["\u003cp\u003eThe API throws exceptions such as \u003ccode\u003eAppIndexException\u003c/code\u003e, \u003ccode\u003eAppIndexInvalidArgumentException\u003c/code\u003e, and \u003ccode\u003eAppIndexTooManyArgumentsException\u003c/code\u003e for error handling.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eThingPropertyKeys\u003c/code\u003e provides keys for setting properties on \u003ccode\u003eIndexable\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,["# com.google.android.gms.appindex\n\n### Interfaces\n\n|---------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|\n| [Action](/android/reference/com/google/android/gms/appindex/Action) | Represents an action taken by the user within the app. |\n| [Indexable](/android/reference/com/google/android/gms/appindex/Indexable) | Represents an indexable unit. |\n| [Indexable.Metadata](/android/reference/com/google/android/gms/appindex/Indexable.Metadata) | Represents the metadata for an [Indexable](/android/reference/com/google/android/gms/appindex/Indexable). |\n\n### Classes\n\n|-------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| [Action.Builder](/android/reference/com/google/android/gms/appindex/Action.Builder) | The builder for [Action](/android/reference/com/google/android/gms/appindex/Action). |\n| [AppIndex](/android/reference/com/google/android/gms/appindex/AppIndex) | | Direct use of play-services-appindex SDK is not supported. |\n| [Indexable.Builder](/android/reference/com/google/android/gms/appindex/Indexable.Builder) | The builder for [Indexable](/android/reference/com/google/android/gms/appindex/Indexable). |\n| [Indexable.Metadata.Builder](/android/reference/com/google/android/gms/appindex/Indexable.Metadata.Builder) | The builder for [Indexable.Metadata](/android/reference/com/google/android/gms/appindex/Indexable.Metadata). |\n| [ThingPropertyKeys](/android/reference/com/google/android/gms/appindex/ThingPropertyKeys) | This class contains Bundle keys for setting [Indexable](/android/reference/com/google/android/gms/appindex/Indexable) properties. |\n| [UserActions](/android/reference/com/google/android/gms/appindex/UserActions) | | Direct use of play-services-appindex SDK is not supported. |\n\n### Exceptions\n\n|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AppIndexException](/android/reference/com/google/android/gms/appindex/AppIndexException) | Class of exceptions thrown by the App Index API. |\n| [AppIndexInvalidArgumentException](/android/reference/com/google/android/gms/appindex/AppIndexInvalidArgumentException) | The exception that is thrown if an invalid argument is provided to one of the App Index API methods. |\n| [AppIndexTooManyArgumentsException](/android/reference/com/google/android/gms/appindex/AppIndexTooManyArgumentsException) | The exception that is thrown if the number of arguments passed to an App Index API method in a single call exceeds the allowed maximum of [Indexable.MAX_INDEXABLES_TO_BE_UPDATED_IN_ONE_CALL](/android). |"]]