public static final class Stetho.DefaultInspectorModulesBuilder
extends java.lang.Object
| Constructor and Description |
|---|
DefaultInspectorModulesBuilder(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
Stetho.DefaultInspectorModulesBuilder |
databaseFiles(DatabaseFilesProvider provider)
Customize the location of database files that Stetho will propogate in the UI.
|
Stetho.DefaultInspectorModulesBuilder |
documentProvider(DocumentProviderFactory factory)
Provide a custom document provider factory which can operate on the logical DOM exposed to
Chrome in the Elements tab.
|
java.lang.Iterable<ChromeDevtoolsDomain> |
finish() |
Stetho.DefaultInspectorModulesBuilder |
provide(ChromeDevtoolsDomain module)
Deprecated.
This fine-grained control of the devtools modules is no longer supportable
given the lack of isolation of modules in the actual protocol (many cross dependencies
emerge when you implement more and more of the real protocol).
|
Stetho.DefaultInspectorModulesBuilder |
provideDatabaseDriver(Database.DatabaseDriver databaseDriver)
Extend and provide additional database drivers.
|
Stetho.DefaultInspectorModulesBuilder |
remove(java.lang.String moduleName)
Deprecated.
This fine-grained control of the devtools modules is no longer supportable
given the lack of isolation of modules in the actual protocol (many cross dependencies
emerge when you implement more and more of the real protocol).
|
Stetho.DefaultInspectorModulesBuilder |
runtimeRepl(RuntimeReplFactory factory)
Provide a custom runtime REPL (read-eval-print loop) implementation for the Console tab.
|
public DefaultInspectorModulesBuilder(android.content.Context context)
public Stetho.DefaultInspectorModulesBuilder documentProvider(DocumentProviderFactory factory)
public Stetho.DefaultInspectorModulesBuilder runtimeRepl(RuntimeReplFactory factory)
stetho-js-rhino (Mozilla's Rhino engine) and uses it if available.
To customize the Rhino implementation, see stetho-js-rhino documentation.public Stetho.DefaultInspectorModulesBuilder databaseFiles(DatabaseFilesProvider provider)
Context.getDatabasePath(java.lang.String) method will be used by default if not overridden here.public Stetho.DefaultInspectorModulesBuilder provideDatabaseDriver(Database.DatabaseDriver databaseDriver)
SqliteDatabaseDriver - Presents sqlite databases and all tables of the app.ContentProviderDatabaseDriver - Configure and present content providers data.@Deprecated public Stetho.DefaultInspectorModulesBuilder provide(ChromeDevtoolsDomain module)
@Deprecated public Stetho.DefaultInspectorModulesBuilder remove(java.lang.String moduleName)
public java.lang.Iterable<ChromeDevtoolsDomain> finish()