Triggered Deletable Object Reporter
interface TriggeredDeletableObjectReporter
Tracks deletion of target objects, marking them retained on trigger.
Inheritors
Functions
Link copied to clipboard
abstract fun expectDeletionOnTriggerFor(target: Any, reason: String): TriggeredDeletableObjectReporter.RetainTrigger
Start tracking the provided target object, with the expectation that it should be eligible for automatic garbage collection soon, i.e. that it should not be strongly reachable by the time RetainTrigger.markRetainedIfStronglyReachable is called on the returned RetainTrigger.