RenamingDelegatingContext.ProviderWithRenamedContext Method

Definition

Overloads

ProviderWithRenamedContext(Class, Context, String)
ProviderWithRenamedContext(Class, Context, String, Boolean)

ProviderWithRenamedContext(Class, Context, String)

[Android.Runtime.Register("providerWithRenamedContext", "(Ljava/lang/Class;Landroid/content/Context;Ljava/lang/String;)Landroid/content/ContentProvider;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.content.ContentProvider" })]
public static Java.Lang.Object? ProviderWithRenamedContext (Java.Lang.Class? contentProvider, Android.Content.Context? c, string? filePrefix);
[<Android.Runtime.Register("providerWithRenamedContext", "(Ljava/lang/Class;Landroid/content/Context;Ljava/lang/String;)Landroid/content/ContentProvider;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.content.ContentProvider" })>]
static member ProviderWithRenamedContext : Java.Lang.Class * Android.Content.Context * string -> Java.Lang.Object

Parameters

contentProvider
Class
filePrefix
String

Returns

Attributes

Remarks

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

ProviderWithRenamedContext(Class, Context, String, Boolean)

[Android.Runtime.Register("providerWithRenamedContext", "(Ljava/lang/Class;Landroid/content/Context;Ljava/lang/String;Z)Landroid/content/ContentProvider;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.content.ContentProvider" })]
public static Java.Lang.Object? ProviderWithRenamedContext (Java.Lang.Class? contentProvider, Android.Content.Context? c, string? filePrefix, bool allowAccessToExistingFilesAndDbs);
[<Android.Runtime.Register("providerWithRenamedContext", "(Ljava/lang/Class;Landroid/content/Context;Ljava/lang/String;Z)Landroid/content/ContentProvider;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.content.ContentProvider" })>]
static member ProviderWithRenamedContext : Java.Lang.Class * Android.Content.Context * string * bool -> Java.Lang.Object

Parameters

contentProvider
Class
filePrefix
String
allowAccessToExistingFilesAndDbs
Boolean

Returns

Attributes

Remarks

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