Language

JniRuntime.CreationOptions Class

Definition

Configures JNI pointers and services for a managed Java runtime.

public class JniRuntime.CreationOptions
type JniRuntime.CreationOptions = class
Inheritance
JniRuntime.CreationOptions

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.

Constructors

Name Description
JniRuntime.CreationOptions()

Creates runtime options with JNI version 1.2 and attribute-based native registration enabled.

Properties

Name Description
ClassLoader

Gets or sets the Java class loader reference for the runtime.

ClassLoader_LoadClass_id
Obsolete.

Gets or sets the obsolete class-loader method identifier.

DestroyRuntimeOnDispose

Gets or sets whether disposing the managed runtime also destroys its Java VM.

EnvironmentPointer

Gets or sets the JNI environment pointer used to initialize the current thread.

InvocationPointer

Gets or sets the Java VM invocation pointer.

JniAddNativeMethodRegistrationAttributePresent

Gets or sets whether reflection registration scans for methods marked with JniAddNativeMethodRegistrationAttribute.

JniVersion

Gets or sets the JNI version requested by the runtime.

JvmLibraryPath

Gets or sets the native JVM library path for runtime-specific initialization.

MarshalMemberBuilder
Obsolete.

Gets or sets the obsolete marshal member builder option.

NewObjectRequired
Obsolete.

Gets or sets the obsolete object-construction option.

ObjectReferenceManager

Gets or sets the service used to manage JNI references.

TrackIDs

Gets or sets an identifier-tracking option that is retained but not acted on by the base runtime.

TypeManager

Gets or sets the service used to map managed and JNI types.

UseMarshalMemberBuilder
Obsolete.

Gets or sets the obsolete marshal-member-builder switch.

ValueManager

Gets or sets the service used to manage peers and convert values.

Applies to