Interface BroadcastReceiverAware
-
public interface BroadcastReceiverAware
AFlutterPlugin
that wants to know when it is running within aBroadcastReceiver
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAttachedToBroadcastReceiver(BroadcastReceiverPluginBinding binding)
Callback triggered when aBroadcastReceiverAware
FlutterPlugin
is associated with aBroadcastReceiver
.void
onDetachedFromBroadcastReceiver()
Callback triggered when aBroadcastReceiverAware
FlutterPlugin
is detached from aBroadcastReceiver
.
-
-
-
Method Detail
-
onAttachedToBroadcastReceiver
void onAttachedToBroadcastReceiver(@NonNull BroadcastReceiverPluginBinding binding)
Callback triggered when aBroadcastReceiverAware
FlutterPlugin
is associated with aBroadcastReceiver
.
-
onDetachedFromBroadcastReceiver
void onDetachedFromBroadcastReceiver()
Callback triggered when aBroadcastReceiverAware
FlutterPlugin
is detached from aBroadcastReceiver
.
-
-