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 5 package io.flutter.embedding.engine.plugins.contentprovider; 6 7 import android.content.ContentProvider; 8 import android.support.annotation.NonNull; 9 10 /** 11 * Binding that gives {@link ContentProviderAware} plugins access to an associated 12 * {@link ContentProvider}. 13 */ 14 public interface ContentProviderPluginBinding { 15 16 /** 17 * Returns the {@link ContentProvider} that is currently attached to the {@link FlutterEngine} that 18 * owns this {@code ContentProviderAwarePluginBinding}. 19 */ 20 @NonNull getContentProvider()21 ContentProvider getContentProvider(); 22 } 23