class PlayServicesStorage


An AppSearch storage system which stores data in the central AppSearch service in Google Play Services.

Summary

Nested types

Contains information relevant to creating a global search session.

Builder for GlobalSearchContext objects.

Contains information about how to create the search session.

Builder for SearchContext objects.

Public functions

createGlobalSearchSessionAsync

Added in 1.1.0-alpha06
java-static fun createGlobalSearchSessionAsync(
    context: PlayServicesStorage.GlobalSearchContext
): ListenableFuture<GlobalSearchSession!>

Opens a new GlobalSearchSession on this storage.

Parameters
context: PlayServicesStorage.GlobalSearchContext

The GlobalSearchContext contains all information to create a new GlobalSearchSession

createSearchSessionAsync

Added in 1.1.0-alpha06
java-static fun createSearchSessionAsync(context: PlayServicesStorage.SearchContext): ListenableFuture<AppSearchSession!>

Opens a new AppSearchSession on this storage.

Parameters
context: PlayServicesStorage.SearchContext

The SearchContext contains all information to create a new AppSearchSession