Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/OnHprofRecordTagListener

OnHprofRecordTagListener

fun interface OnHprofRecordTagListener

Listener passed in to StreamingHprofReader.readRecords, gets notified for each HprofRecordTag found in the heap dump.

Listener implementations are expected to read all bytes corresponding to a given tag from the provided reader before returning.

Types

Name Summary
Companion object Companion

Functions

Name Summary
onHprofRecord abstract fun onHprofRecord(tag: HprofRecordTag, length: Long, reader: HprofRecordReader)