leakcanary-android-core / leakcanary / LeakCanary / Config / <init>
Config(dumpHeap:
Boolean
= true, dumpHeapWhenDebugging:
Boolean
= false, retainedVisibleThreshold:
Int
= 5, referenceMatchers:
List
<ReferenceMatcher> = AndroidReferenceMatchers.appDefaults, objectInspectors:
List
<ObjectInspector> = AndroidObjectInspectors.appDefaults, onHeapAnalyzedListener:
OnHeapAnalyzedListener
= DefaultOnHeapAnalyzedListener.create(), metadataExtractor: MetadataExtractor = AndroidMetadataExtractor, computeRetainedHeapSize:
Boolean
= true, maxStoredHeapDumps:
Int
= 7, requestWriteExternalStoragePermission:
Boolean
= false, leakingObjectFinder: LeakingObjectFinder = KeyedWeakReferenceFinder, useExperimentalLeakFinders:
Boolean
= false)
LeakCanary configuration data class. Properties can be updated via copy.
See Also