com.google.android.gms.appsearch

Interfaces

AppSearchClient Client class for AppSearch.
BatchResultCallback<KeyType, ValueType> The callback interface to returnAppSearchBatchResult.
GlobalSearchClient Client class for AppSearch.

Classes

AppSearch The main entry point for AppSearch services.
AppSearchBatchResult<KeyType, ValueType> Provides results for AppSearch batch operations which encompass multiple documents.
AppSearchBatchResult.Builder<KeyType, ValueType> Builder forAppSearchBatchResult objects.
AppSearchManager Provides access to the centralized AppSearch index maintained by the system.
AppSearchManager.SearchContext Contains information about how to create the search session.
AppSearchManager.SearchContext.Builder Builder for AppSearchManager.SearchContextobjects.
AppSearchOptions Options for instantiating aAppSearchClient andGlobalSearchClient
AppSearchOptions.Builder Builder to construct instances of AppSearchOptions.
AppSearchResult<ValueType> Information about the success or failure of an AppSearch call.
AppSearchSchema The AppSearch Schema for a particular type of document.
AppSearchSchema.BooleanPropertyConfig Configuration for a property containing a boolean.
AppSearchSchema.BooleanPropertyConfig.Builder Builder for AppSearchSchema.BooleanPropertyConfig.
AppSearchSchema.Builder Builder forobjects.
AppSearchSchema.BytesPropertyConfig Configuration for a property containing a byte array.
AppSearchSchema.BytesPropertyConfig.Builder Builder for AppSearchSchema.BytesPropertyConfig.
AppSearchSchema.DocumentPropertyConfig Configuration for a property containing another Document.
AppSearchSchema.DocumentPropertyConfig.Builder Builder for AppSearchSchema.DocumentPropertyConfig.
AppSearchSchema.DoublePropertyConfig Configuration for a property containing a double-precision decimal number.
AppSearchSchema.DoublePropertyConfig.Builder Builder for AppSearchSchema.DoublePropertyConfig.
AppSearchSchema.LongPropertyConfig Configuration for a property containing a 64-bit integer.
AppSearchSchema.LongPropertyConfig.Builder Builder for AppSearchSchema.LongPropertyConfig.
AppSearchSchema.PropertyConfig Common configuration for a single property (field) in a Document.
AppSearchSchema.StringPropertyConfig Configuration for a property of type String in a Document.
AppSearchSchema.StringPropertyConfig.Builder Builder for AppSearchSchema.StringPropertyConfig.
GenericDocument Represents a document unit.
GenericDocument.Builder<BuilderType extendsBuilder> The builder class forGenericDocument.
GetByDocumentIdRequest Encapsulates a request to retrieve documents by namespace and IDs from theAppSearchClient database.
GetByDocumentIdRequest.Builder Builder forGetByDocumentIdRequest objects.
GetSchemaResponse The response class of AppSearchClient.getSchema(String)
GetSchemaResponse.Builder Builder forGetSchemaResponse objects.
JoinSpec This class represents the specifications for the joining operation in search.
JoinSpec.Builder Builder forobjects.
Migrator A migrator class to translateGenericDocument from different version ofAppSearchSchema

Make non-backwards-compatible changes will delete all stored documents in old schema.

PackageIdentifier This class represents a uniquely identifiable package.
PropertyPath Represents a property path returned from searching the AppSearch Database.
PropertyPath.PathSegment A segment of a PropertyPath, which includes the name of the property and a 0-based index into this property.
PutDocumentsRequest Encapsulates a request to index documents into an AppSearchClient database.
PutDocumentsRequest.Builder Builder forPutDocumentsRequest objects.
RemoveByDocumentIdRequest Encapsulates a request to remove documents by namespace and IDs from theAppSearchClient database.
RemoveByDocumentIdRequest.Builder Builder forRemoveByDocumentIdRequest objects.
ReportSystemUsageRequest A request to report usage of a document owned by another app from a system UI surface.
ReportSystemUsageRequest.Builder Builder forReportSystemUsageRequest objects.
ReportUsageRequest A request to report usage of a document.
ReportUsageRequest.Builder Builder forReportUsageRequest objects.
SchemaVisibilityConfig A class to hold a all necessary Visibility information corresponding to the same schema.
SchemaVisibilityConfig.Builder The builder class ofSchemaVisibilityConfig.
SearchResult This class represents one of the results obtained from an AppSearch query.
SearchResult.Builder Builder forSearchResult objects.
SearchResult.MatchInfo This class represents match objects for any snippets that might be present inSearchResults from a query.
SearchResult.MatchInfo.Builder Builder forSearchResult.MatchInfo objects.
SearchResult.MatchRange Class providing the position range of matching information.
SearchResults Encapsulates results of a search operation.
SearchSpec This class represents the specification logic for AppSearch.
SearchSpec.Builder Builder forobjects.
SearchSuggestionResult The result class of the AppSearchClient.searchSuggestion(String, SearchSuggestionSpec, String).
SearchSuggestionResult.Builder The Builder class ofSearchSuggestionResult.
SearchSuggestionSpec This class represents the specification logic for AppSearch.
SearchSuggestionSpec.Builder Builder forobjects.
SetSchemaRequest Encapsulates a request to update the schema of an AppSearchClient database.
SetSchemaRequest.Builder Builder forSetSchemaRequest objects.
SetSchemaResponse The response class of AppSearchClient.setSchema(SetSchemaRequest, String)
SetSchemaResponse.Builder Builder forSetSchemaResponse objects.
SetSchemaResponse.MigrationFailure The class represents a post-migrated GenericDocumentthat failed to be saved by AppSearchClient.setSchema(SetSchemaRequest, String).
StorageInfo The response class of AppSearchClient#getStorageInfo.
StorageInfo.Builder Builder forStorageInfo objects.