PathClassLoader Constructors

Definition

Overloads

PathClassLoader(IntPtr, JniHandleOwnership)

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

PathClassLoader(String, ClassLoader)

Creates a PathClassLoader that operates on a given list of files and directories.

PathClassLoader(String, String, ClassLoader)

Creates a PathClassLoader that operates on two given lists of files and directories.

PathClassLoader(IntPtr, JniHandleOwnership)

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

C#
protected PathClassLoader (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);

Parameters

javaReference
IntPtr

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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

PathClassLoader(String, ClassLoader)

Creates a PathClassLoader that operates on a given list of files and directories.

C#
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/ClassLoader;)V", "")]
public PathClassLoader (string? dexPath, Java.Lang.ClassLoader? parent);

Parameters

dexPath
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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

PathClassLoader(String, String, ClassLoader)

Creates a PathClassLoader that operates on two given lists of files and directories.

C#
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)V", "")]
public PathClassLoader (string? dexPath, string? librarySearchPath, Java.Lang.ClassLoader? parent);

Parameters

dexPath
String
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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35