io.flutter.embedding.engine.plugins.broadcastreceiver

## Interface BroadcastReceiverAware

-     public interface BroadcastReceiverAware

  A `FlutterPlugin` that wants to know when it is running within a `BroadcastReceiver`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onAttachedToBroadcastReceiver(BroadcastReceiverPluginBinding binding)` Callback triggered when a `BroadcastReceiverAware` `FlutterPlugin` is associated with a `BroadcastReceiver`.
    `void` | `onDetachedFromBroadcastReceiver()` Callback triggered when a `BroadcastReceiverAware` `FlutterPlugin` is detached from a `BroadcastReceiver`.

- - ### Method Detail

    - #### onAttachedToBroadcastReceiver

          void onAttachedToBroadcastReceiver(@NonNull
                                             BroadcastReceiverPluginBinding binding)

      Callback triggered when a `BroadcastReceiverAware` `FlutterPlugin` is associated with a `BroadcastReceiver`.

    - #### onDetachedFromBroadcastReceiver

          void onDetachedFromBroadcastReceiver()

      Callback triggered when a `BroadcastReceiverAware` `FlutterPlugin` is detached from a `BroadcastReceiver`.