Compartilhar via


ContentResolver.Wrap Method

Definition

Overloads

Wrap(ContentProvider)

Create a ContentResolver instance that redirects all its methods to the given ContentProvider.

Wrap(ContentProviderClient)

Create a ContentResolver instance that redirects all its methods to the given ContentProviderClient.

Wrap(ContentProvider)

Create a ContentResolver instance that redirects all its methods to the given ContentProvider.

[Android.Runtime.Register("wrap", "(Landroid/content/ContentProvider;)Landroid/content/ContentResolver;", "", ApiSince=29)]
public static Android.Content.ContentResolver Wrap (Android.Content.ContentProvider wrapped);
[<Android.Runtime.Register("wrap", "(Landroid/content/ContentProvider;)Landroid/content/ContentResolver;", "", ApiSince=29)>]
static member Wrap : Android.Content.ContentProvider -> Android.Content.ContentResolver

Parameters

wrapped
ContentProvider

Returns

Attributes

Remarks

Create a ContentResolver instance that redirects all its methods to the given ContentProvider.

Java documentation for android.content.ContentResolver.wrap(android.content.ContentProvider).

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

Wrap(ContentProviderClient)

Create a ContentResolver instance that redirects all its methods to the given ContentProviderClient.

[Android.Runtime.Register("wrap", "(Landroid/content/ContentProviderClient;)Landroid/content/ContentResolver;", "", ApiSince=29)]
public static Android.Content.ContentResolver Wrap (Android.Content.ContentProviderClient wrapped);
[<Android.Runtime.Register("wrap", "(Landroid/content/ContentProviderClient;)Landroid/content/ContentResolver;", "", ApiSince=29)>]
static member Wrap : Android.Content.ContentProviderClient -> Android.Content.ContentResolver

Parameters

Returns

Attributes

Remarks

Create a ContentResolver instance that redirects all its methods to the given ContentProviderClient.

Java documentation for android.content.ContentResolver.wrap(android.content.ContentProviderClient).

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