//leakcanary-repo/leakcanary/ServiceWatcher
ServiceWatcher¶
[androidJvm]\ class ServiceWatcher(deletableObjectReporter: DeletableObjectReporter) : InstallableWatcher
Expects services to become weakly reachable soon after they receive the Service.onDestroy callback.
Constructors¶
ServiceWatcher | [androidJvm] constructor(reachabilityWatcher: ReachabilityWatcher)constructor(deletableObjectReporter: DeletableObjectReporter) |
Types¶
Name | Summary |
---|---|
Companion | [androidJvm] object Companion |
Functions¶
Name | Summary |
---|---|
install | [androidJvm] open override fun install() |
uninstall | [androidJvm] open override fun uninstall() |