public class SharedPreferencesDumperPlugin extends java.lang.Object implements DumperPlugin
| Constructor and Description |
|---|
SharedPreferencesDumperPlugin(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(DumperContext dumpContext)
Invoked in response to the user running the dumpapp command and specifying your plugin.
|
java.lang.String |
getName()
Plugin name according to the dumpsys command-line interface.
|
public SharedPreferencesDumperPlugin(android.content.Context context)
public java.lang.String getName()
DumperPlugingetName in interface DumperPluginpublic void dump(DumperContext dumpContext) throws DumpUsageException
DumperPlugin
Any output written to DumperContext.getStdout() will be displayed to the caller.
dump in interface DumperPlugindumpContext - Contains the command-line state (extra arguments, output channel, etc).DumpUsageException