public interface LeakDirectoryProvider
LeakCanary.setDisplayLeakActivityDirectoryProvider(LeakDirectoryProvider) to ensure the
provided activity is able to display the leaks.| Modifier and Type | Method and Description |
|---|---|
void |
clearLeakDirectory()
Removes all heap dumps and analysis results, except for heap dumps that haven't been
analyzed yet.
|
java.util.List<java.io.File> |
listFiles(java.io.FilenameFilter filter) |
java.io.File |
newHeapDumpFile() |
java.util.List<java.io.File> listFiles(java.io.FilenameFilter filter)
java.io.File newHeapDumpFile()
HeapDumper.RETRY_LATER if a new heap dump file could not be created.void clearLeakDirectory()