AppSearchManager.SearchContext


public static final class AppSearchManager.SearchContext
extends Object

java.lang.Object
   ↳ android.app.appsearch.AppSearchManager.SearchContext


Contains information about how to create the search session.

Summary

Nested classes

class AppSearchManager.SearchContext.Builder

Builder for SearchContext objects. 

Public methods

String getDatabaseName()

Returns the name of the database to create or open.

Inherited methods

Public methods

getDatabaseName

Added in API level 31
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.

Returns
String This value cannot be null.