Update AppSearchManager to clarify features

Bug: 185595210
Change-Id: Idb2eae922bf208490f1c166a99bb8a1b0e05191c
This commit is contained in:
Dan Saadati
2021-04-06 18:04:57 +00:00
parent f906029106
commit fddc1eb396

View File

@@ -29,14 +29,16 @@ import java.util.function.Consumer;
/**
* Provides access to the centralized AppSearch index maintained by the system.
*
* <p>AppSearch is a search library for managing structured data featuring:
* <p>AppSearch is an offline, on-device search library for managing structured data featuring:
*
* <ul>
* <li>A fully offline on-device solution
* <li>A set of APIs for applications to index documents and retrieve them via full-text search
* <li>APIs for applications to allow the System to display their content on system UI surfaces
* <li>Similarly, APIs for applications to allow the System to share their content with other
* specified applications.
* <li>APIs to index and retrieve data via full-text search.
* <li>An API for applications to explicitly grant read-access permission of their data to other
* applications.
* <b>See: {@link SetSchemaRequest.Builder#setSchemaTypeVisibilityForPackage}</b>
* <li>An API for applications to opt into or out of having their data displayed on System UI
* surfaces by the System-designated global querier.
* <b>See: {@link SetSchemaRequest.Builder#setSchemaTypeDisplayedBySystem}</b>
* </ul>
*
* <p>Applications create a database by opening an {@link AppSearchSession}.