Partager via


BaseDexClassLoader Constructors

Definition

Overloads

BaseDexClassLoader(IntPtr, JniHandleOwnership)

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

BaseDexClassLoader(String, File, String, ClassLoader)

Constructs an instance.

BaseDexClassLoader(IntPtr, JniHandleOwnership)

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

protected BaseDexClassLoader (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Dalvik.SystemInterop.BaseDexClassLoader : nativeint * Android.Runtime.JniHandleOwnership -> Dalvik.SystemInterop.BaseDexClassLoader

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

BaseDexClassLoader(String, File, String, ClassLoader)

Constructs an instance.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;Ljava/lang/ClassLoader;)V", "")]
public BaseDexClassLoader (string? dexPath, Java.IO.File? optimizedDirectory, string? librarySearchPath, Java.Lang.ClassLoader? parent);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;Ljava/lang/ClassLoader;)V", "")>]
new Dalvik.SystemInterop.BaseDexClassLoader : string * Java.IO.File * string * Java.Lang.ClassLoader -> Dalvik.SystemInterop.BaseDexClassLoader

Parameters

dexPath
String
optimizedDirectory
File
librarySearchPath
String
parent
ClassLoader
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