com.google.android.gms.appsearch.observer
Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
ObserverCallback
|
An interface which apps can implement to subscribe
to notifications of changes to AppSearch data. |
Classes
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[],["Apps utilize the `ObserverCallback` interface to receive notifications about AppSearch data changes. `ObserverSpec` configures which changes trigger these notifications, defining specific types and namespaces. `ObserverSpec.Builder` facilitates the creation of these configurations. `DocumentChangeInfo` details individual data changes, while `SchemaChangeInfo` provides information on schema updates. The `ObserverCallback` receives these change notifications as defined by `ObserverSpec`.\n"],null,[]]