main

square/leakcanary

Last updated at: 29/12/2023 09:39

HeapAnalysisReporter.kt

TLDR

This file contains a single interface named HeapAnalysisReporter that provides a method for reporting the results of a heap analysis.

Methods

reportHeapAnalysis

This method takes a HeapAnalysis object as a parameter and is responsible for reporting the results of the heap analysis.

The provided file does not contain any classes.

package leakcanary

import shark.HeapAnalysis

/**
 * Reports the results of a heap analysis created by [AndroidDetectLeaksAssert].
 */
fun interface HeapAnalysisReporter {
  fun reportHeapAnalysis(heapAnalysis: HeapAnalysis)
}