//leakcanary/shark/FilteringLeakingObjectFinder/LeakingObjectFilter
LeakingObjectFilter¶
fun interface LeakingObjectFilter
Filter to be passed to the FilteringLeakingObjectFinder constructor.
Functions¶
Name | Summary |
---|---|
isLeakingObject | abstract fun isLeakingObject(heapObject: HeapObject): Boolean Returns whether the passed in heapObject is leaking. This should only return true when we’re 100% sure the passed in heapObject should not be in memory anymore. |