com.google.android.gms.appindex

  • The App Indexing API uses Action to represent user interactions and Indexable for indexable content units, along with Indexable.Metadata for associated metadata.

  • Builders like Action.Builder, Indexable.Builder, and Indexable.Metadata.Builder help construct these objects.

  • Direct usage of AppIndex and UserActions via the play-services-appindex SDK is not supported.

  • The API throws exceptions such as AppIndexException, AppIndexInvalidArgumentException, and AppIndexTooManyArgumentsException for error handling.

  • ThingPropertyKeys provides keys for setting properties on Indexable objects.

Interfaces

Action Represents an action taken by the user within the app. 
Indexable Represents an indexable unit. 
Indexable.Metadata Represents the metadata for an Indexable

Classes

Action.Builder The builder for Action
AppIndex
Indexable.Builder The builder for Indexable
Indexable.Metadata.Builder The builder for Indexable.Metadata
ThingPropertyKeys This class contains Bundle keys for setting Indexable properties. 
UserActions

Exceptions

AppIndexException Class of exceptions thrown by the App Index API. 
AppIndexInvalidArgumentException The exception that is thrown if an invalid argument is provided to one of the App Index API methods. 
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