ContentResolver.Wrap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Wrap(ContentProvider) |
Create a |
Wrap(ContentProviderClient) |
Create a |
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
- wrapped
- ContentProviderClient
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.