Share via


ContentProviderClient.LocalContentProvider Property

Definition

Get a reference to the ContentProvider that is associated with this client.

public virtual Android.Content.ContentProvider? LocalContentProvider { [Android.Runtime.Register("getLocalContentProvider", "()Landroid/content/ContentProvider;", "GetGetLocalContentProviderHandler")] get; }
[<get: Android.Runtime.Register("getLocalContentProvider", "()Landroid/content/ContentProvider;", "GetGetLocalContentProviderHandler")>]
member this.LocalContentProvider : Android.Content.ContentProvider

Property Value

If the associated ContentProvider is local, returns it. Otherwise returns null.

Attributes

Remarks

Get a reference to the ContentProvider that is associated with this client. If the ContentProvider is running in a different process then null will be returned. This can be used if you know you are running in the same process as a provider, and want to get direct access to its implementation details.

Java documentation for android.content.ContentProviderClient.getLocalContentProvider().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to