public static class Stetho.InitializerBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Stetho.Initializer |
build() |
Stetho.InitializerBuilder |
enableDumpapp(DumperPluginsProvider plugins)
Enable use of the
dumpapp system. |
Stetho.InitializerBuilder |
enableWebKitInspector(InspectorModulesProvider modules) |
public Stetho.InitializerBuilder enableDumpapp(DumperPluginsProvider plugins)
dumpapp system. This is an extension to Stetho which allows
developers to configure custom debug endpoints as tiny programs embedded inside of a larger
running Android application. Examples of this would be simple utilities to visualize and
edit SharedPreferences data, kick off sync or other background tasks, inject custom
data temporarily into the process for debugging/reproducibility, upload error reports,
etc.
See ./scripts/dumpapp for more information on how to use this system once
enabled.
plugins - The set of plugins to use.public Stetho.InitializerBuilder enableWebKitInspector(InspectorModulesProvider modules)
public Stetho.Initializer build()