android.app.appsearch


Interfaces

BatchResultCallback

The callback interface to return AppSearchBatchResult.

Classes

AppSearchBatchResult

Provides results for AppSearch batch operations which encompass multiple documents.

AppSearchManager

Provides access to the centralized AppSearch index maintained by the system.

AppSearchResult

Information about the success or failure of an AppSearch call.

AppSearchSchema

The AppSearch Schema for a particular type of document.

AppSearchSession

Provides a connection to a single AppSearch database.

EnterpriseGlobalSearchSession

Provides a connection to the work profile's AppSearch databases that explicitly allow access from enterprise sessions.

GenericDocument

Represents a document unit.

GetByDocumentIdRequest

Encapsulates a request to retrieve documents by namespace and IDs from the AppSearchSession database.

GetSchemaResponse

The response class of AppSearchSession#getSchema

GlobalSearchSession

Provides a connection to all AppSearch databases the querying application has been granted access to.

JoinSpec

This class represents the specifications for the joining operation in search.

Migrator

A migrator class to translate GenericDocument from different version of AppSearchSchema

PackageIdentifier

This class represents a uniquely identifiable package.

PropertyPath

Represents a property path returned from searching the AppSearch Database.

PutDocumentsRequest

Encapsulates a request to index documents into an AppSearchSession database.

RemoveByDocumentIdRequest

Encapsulates a request to remove documents by namespace and IDs from the AppSearchSession database.

ReportSystemUsageRequest

A request to report usage of a document owned by another app from a system UI surface.

ReportUsageRequest

A request to report usage of a document.

SchemaVisibilityConfig

A class to hold a all necessary Visibility information corresponding to the same schema.

SearchResult

This class represents one of the results obtained from an AppSearch query.

SearchResults

Encapsulates results of a search operation.

SearchSpec

This class represents the specification logic for AppSearch.

SearchSuggestionResult

The result class of the AppSearchSession#searchSuggestion.

SearchSuggestionSpec

This class represents the specification logic for AppSearch.

SetSchemaRequest

Encapsulates a request to update the schema of an AppSearchSession database.

SetSchemaResponse

The response class of AppSearchSession#setSchema

StorageInfo

The response class of AppSearchSession#getStorageInfo.