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