AppSearchManager.SearchContext

  • AppSearchManager.SearchContext contains information about how to create the search session.

  • It includes a nested Builder class for creating AppSearchManager.SearchContext objects.

  • The getDatabaseName method returns the name of the database to create or open.

public static final class AppSearchManager.SearchContext extends Object

Contains information about how to create the search session.

Nested Class Summary

class AppSearchManager.SearchContext.Builder Builder for AppSearchManager.SearchContext objects. 

Public Method Summary

String
getDatabaseName()
Returns the name of the database to create or open.

Inherited Method Summary

Public Methods

public String getDatabaseName ()

Returns the name of the database to create or open.

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