Flutter Engine
The Flutter Engine
ContentProviderAware.java
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5package io.flutter.embedding.engine.plugins.contentprovider;
6
7import androidx.annotation.NonNull;
8
9/**
10 * A {@link io.flutter.embedding.engine.plugins.FlutterPlugin} that wants to know when it is running
11 * within a {@link android.content.ContentProvider}.
12 */
13public interface ContentProviderAware {
14 /**
15 * Callback triggered when a {@code ContentProviderAware} {@link
16 * io.flutter.embedding.engine.plugins.FlutterPlugin} is associated with a {@link
17 * android.content.ContentProvider}.
18 */
20
21 /**
22 * Callback triggered when a {@code ContentProviderAware} {@link
23 * io.flutter.embedding.engine.plugins.FlutterPlugin} is detached from a {@link
24 * android.content.ContentProvider}.
25 */
27}
void onAttachedToContentProvider(@NonNull ContentProviderPluginBinding binding)