//leakcanary/shark/OnHprofRecordListener
OnHprofRecordListener¶
fun interface OnHprofRecordListener
Listener passed in to StreamingHprofReader.readRecords, gets notified for each HprofRecord found in the heap dump which types is in the set of the recordTypes parameter passed to StreamingHprofReader.readRecords.
This is a functional interface with which you can create a OnHprofRecordListener from a lambda.
Types¶
Name | Summary |
---|---|
Companion | object Companion |
Functions¶
Name | Summary |
---|---|
onHprofRecord | abstract fun onHprofRecord(position: Long, record: HprofRecord) |