Skip to content
🤔 Documentation issue? Report it

//leakcanary/leakcanary/AndroidDetectLeaksInterceptor

AndroidDetectLeaksInterceptor

class AndroidDetectLeaksInterceptor(instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), objectWatcher: ObjectWatcher = AppWatcher.objectWatcher, retainedDelayMillis: Long = AppWatcher.retainedDelayMillis) : DetectLeaksInterceptor

Constructors

AndroidDetectLeaksInterceptor fun AndroidDetectLeaksInterceptor(instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(), objectWatcher: ObjectWatcher = AppWatcher.objectWatcher, retainedDelayMillis: Long = AppWatcher.retainedDelayMillis)

Functions

Name Summary
waitUntilReadyForHeapAnalysis open override fun waitUntilReadyForHeapAnalysis(): HeapAnalysisDecision