Share via


RenamingDelegatingContext Constructors

Definition

Overloads

RenamingDelegatingContext(Context, String)
RenamingDelegatingContext(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

RenamingDelegatingContext(Context, Context, String)

RenamingDelegatingContext(Context, String)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;)V", "")]
public RenamingDelegatingContext (Android.Content.Context? context, string? filePrefix);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;)V", "")>]
new Android.Test.RenamingDelegatingContext : Android.Content.Context * string -> Android.Test.RenamingDelegatingContext

Parameters

context
Context

: the context that will be delegated.

filePrefix
String

: a prefix with which database and file names will be prefixed.

Attributes

Remarks

Java documentation for android.test.RenamingDelegatingContext.RenamingDelegatingContext(android.content.Context, java.lang.String).

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

RenamingDelegatingContext(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected RenamingDelegatingContext (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Test.RenamingDelegatingContext : nativeint * Android.Runtime.JniHandleOwnership -> Android.Test.RenamingDelegatingContext

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

RenamingDelegatingContext(Context, Context, String)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/content/Context;Ljava/lang/String;)V", "")]
public RenamingDelegatingContext (Android.Content.Context? context, Android.Content.Context? fileContext, string? filePrefix);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/content/Context;Ljava/lang/String;)V", "")>]
new Android.Test.RenamingDelegatingContext : Android.Content.Context * Android.Content.Context * string -> Android.Test.RenamingDelegatingContext

Parameters

context
Context

: the context that will be delegated.

fileContext
Context

: the context that file and db methods will be delegated to

filePrefix
String

: a prefix with which database and file names will be prefixed.

Attributes

Remarks

Java documentation for android.test.RenamingDelegatingContext.RenamingDelegatingContext(android.content.Context, android.content.Context, java.lang.String).

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