Event
Note: Event is Serializable for convenience but we currently make no guarantee that the Serialization is backward / forward compatible across LeakCanary versions, so plan accordingly. This is convenient for passing events around processes, and shouldn't be used to store them.
Types
Link copied to clipboard
Sent from the "LeakCanary-Heap-Dump" HandlerThread.
Link copied to clipboard
Sent from the thread performing the analysis.
Link copied to clipboard
class HeapAnalysisProgress( val uniqueId: String, val step: OnAnalysisProgressListener.Step, val progressPercent: Double) : EventListener.Event
Content copied to clipboard
progressPercent is a value between 0..1
Link copied to clipboard
class HeapDumpFailed( val uniqueId: String, val exception: Throwable, val willRetryLater: Boolean) : EventListener.Event
Content copied to clipboard
Sent from the "LeakCanary-Heap-Dump" HandlerThread.