AI-generated Key Takeaways
-
The App Indexing API uses
Action
to represent user interactions andIndexable
for indexable content units, along withIndexable.Metadata
for associated metadata. -
Builders like
Action.Builder
,Indexable.Builder
, andIndexable.Metadata.Builder
help construct these objects. -
Direct usage of
AppIndex
andUserActions
via the play-services-appindex SDK is not supported. -
The API throws exceptions such as
AppIndexException
,AppIndexInvalidArgumentException
, andAppIndexTooManyArgumentsException
for error handling. -
ThingPropertyKeys
provides keys for setting properties onIndexable
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 . |