public final 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 methods

createGlobalSearchSessionAsync

Added in 1.1.0-alpha07
public static @NonNull ListenableFuture<GlobalSearchSessioncreateGlobalSearchSessionAsync(
    @NonNull PlayServicesStorage.GlobalSearchContext context
)

Opens a new GlobalSearchSession on this storage.

Parameters
@NonNull PlayServicesStorage.GlobalSearchContext context

The GlobalSearchContext contains all information to create a new GlobalSearchSession

createSearchSessionAsync

Added in 1.1.0-alpha07
public static @NonNull ListenableFuture<AppSearchSessioncreateSearchSessionAsync(
    @NonNull PlayServicesStorage.SearchContext context
)

Opens a new AppSearchSession on this storage.

Parameters
@NonNull PlayServicesStorage.SearchContext context

The SearchContext contains all information to create a new AppSearchSession