Interface ServiceAware
public interface ServiceAware
A
FlutterPlugin
that wants to know when it is running
within a Service
.-
Nested Class Summary
-
Method Summary
-
Method Details
-
onAttachedToService
-
onDetachedFromService
void onDetachedFromService()Callback triggered when aServiceAware
FlutterPlugin
is detached from aService
.Any
Lifecycle
listeners that were registered inonAttachedToService(ServicePluginBinding)
should be deregistered here to avoid a possible memory leak and other side effects.
-