DexClassLoader 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
| Name | Description |
|---|---|
| DexClassLoader(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| DexClassLoader(String, String, String, ClassLoader) |
Creates a |
DexClassLoader(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected DexClassLoader(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Dalvik.SystemInterop.DexClassLoader : nativeint * Android.Runtime.JniHandleOwnership -> Dalvik.SystemInterop.DexClassLoader
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
DexClassLoader(String, String, String, ClassLoader)
Creates a DexClassLoader that finds interpreted and native
code.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)V", "")]
public DexClassLoader(string? dexPath, string? optimizedDirectory, string? librarySearchPath, Java.Lang.ClassLoader? parent);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)V", "")>]
new Dalvik.SystemInterop.DexClassLoader : string * string * string * Java.Lang.ClassLoader -> Dalvik.SystemInterop.DexClassLoader
Parameters
- dexPath
- String
The list of JAR or APK files containing classes and resources, delimited by PathSeparator.
- optimizedDirectory
- String
Deprecated; has no effect since API level 26.
- librarySearchPath
- String
The list of directories containing native libraries, delimited by PathSeparator; may be null.
- parent
- ClassLoader
The parent class loader.
- 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.