Package io.flutter.embedding.engine.plugins.contentprovider

# Interface ContentProviderAware

public interface ContentProviderAware
A `FlutterPlugin` that wants to know when it is running within a `ContentProvider`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onAttachedToContentProvider(ContentProviderPluginBinding binding)`
  Callback triggered when a `ContentProviderAware` `FlutterPlugin` is associated with a `ContentProvider`.
  `void`
  `onDetachedFromContentProvider()`
  Callback triggered when a `ContentProviderAware` `FlutterPlugin` is detached from a `ContentProvider`.

- ## Method Details

  - ### onAttachedToContentProvider

    void onAttachedToContentProvider(@NonNull ContentProviderPluginBinding binding)
    Callback triggered when a `ContentProviderAware` `FlutterPlugin` is associated with a `ContentProvider`.

  - ### onDetachedFromContentProvider

    void onDetachedFromContentProvider()
    Callback triggered when a `ContentProviderAware` `FlutterPlugin` is detached from a `ContentProvider`.