Android.Content.ContentResolver.AcquireContentProviderClient Method
Returns a Android.Content.ContentProviderClient that is associated with the Android.Content.ContentProvider that services the content at uri, starting the provider if necessary.

Syntax

[Android.Runtime.Register("acquireContentProviderClient", "(Landroid/net/Uri;)Landroid/content/ContentProviderClient;", "")]
public ContentProviderClient AcquireContentProviderClient (Android.Net.Uri uri)

Parameters

uri
specifies which provider should be acquired

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a Android.Content.ContentProviderClient that is associated with the Android.Content.ContentProvider that services the content at uri, starting the provider if necessary. Returns null if there is no provider associated wih the uri. The caller must indicate that they are done with the provider by calling ContentProviderClient.Release which will allow the system to release the provider it it determines that there is no other reason for keeping it active.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5