AppSearchManager.SearchContext.Builder

public static final classAppSearchManager.SearchContext.BuilderextendsObject

Builder forAppSearchManager.SearchContext objects.

Public Constructor Summary

Public Method Summary

AppSearchManager.SearchContext

Inherited Method Summary

Public Constructors

publicBuilder(String databaseName)

Creates a new AppSearchManager.SearchContext.Builder.

AppSearchClient will create or open a database under the given name.

Databases with different names are fully separate with distinct types, namespaces, and data.

Database name cannot contain'/'.

Parameters
databaseName The name of the database.
Throws
IllegalArgumentException if the databaseName contains'/'.

Public Methods