RenamingDelegatingContext Constructors
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
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
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
- 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
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.