Skip to content
🤔 Documentation issue? Report it

//leakcanary/leakcanary/ServiceWatcher

ServiceWatcher

class ServiceWatcher(reachabilityWatcher: ReachabilityWatcher) : InstallableWatcher

Expects services to become weakly reachable soon after they receive the Service.onDestroy callback.

Constructors

ServiceWatcher fun ServiceWatcher(reachabilityWatcher: ReachabilityWatcher)

Types

Name Summary
Companion object Companion

Functions

Name Summary
install open override fun install()
uninstall open override fun uninstall()