leakcanary-android-core / leakcanary / OnHeapAnalyzedListener
interface OnHeapAnalyzedListener
Name | Summary |
---|---|
onHeapAnalyzed | abstract fun onHeapAnalyzed(heapAnalysis: HeapAnalysis): Unit |
Name | Summary |
---|---|
invoke | operator fun invoke(block: (HeapAnalysis) -> Unit ): OnHeapAnalyzedListener Utility function to create a OnHeapAnalyzedListener from the passed in [block](invoke.md#leakcanary.OnHeapAnalyzedListener.Companion$invoke(kotlin.Function1((shark.HeapAnalysis, kotlin.Unit)))/block) lambda instead of using the anonymous object : OnHeapAnalyzedListener syntax. |
Name | Summary |
---|---|
DefaultOnHeapAnalyzedListener | class DefaultOnHeapAnalyzedListener : OnHeapAnalyzedListener Default OnHeapAnalyzedListener implementation, which will store the analysis to disk and show a notification summarizing the result. |