InMemoryDexClassLoader 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 |
|---|---|
| InMemoryDexClassLoader(ByteBuffer, ClassLoader) |
Creates a new in-memory DEX class loader. |
| InMemoryDexClassLoader(ByteBuffer[], ClassLoader) |
Creates an in-memory DEX class loader with the specified DEX buffers. |
| InMemoryDexClassLoader(ByteBuffer[], String, ClassLoader) |
Creates an in-memory DEX class loader with the specified DEX buffers. |
InMemoryDexClassLoader(ByteBuffer, ClassLoader)
Creates a new in-memory DEX class loader.
[Android.Runtime.Register(".ctor", "(Ljava/nio/ByteBuffer;Ljava/lang/ClassLoader;)V", "", ApiSince=26)]
public InMemoryDexClassLoader(Java.Nio.ByteBuffer dexBuffer, Java.Lang.ClassLoader? parent);
[<Android.Runtime.Register(".ctor", "(Ljava/nio/ByteBuffer;Ljava/lang/ClassLoader;)V", "", ApiSince=26)>]
new Dalvik.SystemInterop.InMemoryDexClassLoader : Java.Nio.ByteBuffer * Java.Lang.ClassLoader -> Dalvik.SystemInterop.InMemoryDexClassLoader
Parameters
- dexBuffer
- ByteBuffer
A buffer containing DEX file contents between its position and limit.
- parent
- ClassLoader
The parent class loader for delegation; may be null.
- 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
InMemoryDexClassLoader(ByteBuffer[], ClassLoader)
Creates an in-memory DEX class loader with the specified DEX buffers.
[Android.Runtime.Register(".ctor", "([Ljava/nio/ByteBuffer;Ljava/lang/ClassLoader;)V", "", ApiSince=27)]
public InMemoryDexClassLoader(Java.Nio.ByteBuffer[] dexBuffers, Java.Lang.ClassLoader? parent);
[<Android.Runtime.Register(".ctor", "([Ljava/nio/ByteBuffer;Ljava/lang/ClassLoader;)V", "", ApiSince=27)>]
new Dalvik.SystemInterop.InMemoryDexClassLoader : Java.Nio.ByteBuffer[] * Java.Lang.ClassLoader -> Dalvik.SystemInterop.InMemoryDexClassLoader
Parameters
- dexBuffers
- ByteBuffer[]
An array of buffers containing DEX files between their position and limit.
- parent
- ClassLoader
The parent class loader for delegation; may be null.
- 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
InMemoryDexClassLoader(ByteBuffer[], String, ClassLoader)
Creates an in-memory DEX class loader with the specified DEX buffers.
[Android.Runtime.Register(".ctor", "([Ljava/nio/ByteBuffer;Ljava/lang/String;Ljava/lang/ClassLoader;)V", "", ApiSince=29)]
public InMemoryDexClassLoader(Java.Nio.ByteBuffer[] dexBuffers, string? librarySearchPath, Java.Lang.ClassLoader? parent);
[<Android.Runtime.Register(".ctor", "([Ljava/nio/ByteBuffer;Ljava/lang/String;Ljava/lang/ClassLoader;)V", "", ApiSince=29)>]
new Dalvik.SystemInterop.InMemoryDexClassLoader : Java.Nio.ByteBuffer[] * string * Java.Lang.ClassLoader -> Dalvik.SystemInterop.InMemoryDexClassLoader
Parameters
- dexBuffers
- ByteBuffer[]
An array of buffers containing DEX files between their position and limit.
- librarySearchPath
- String
The list of directories containing native libraries, delimited by PathSeparator; may be null.
- parent
- ClassLoader
The parent class loader for delegation; may be null.
- 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.