Language

JniPeerMembers Class

Definition

Holds Java peer type metadata and cached field and method access helpers.

public class JniPeerMembers
type JniPeerMembers = class
Inheritance
JniPeerMembers
Derived

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
JniPeerMembers(String, Type, Boolean)

Creates member access information with an explicit interface-dispatch policy.

JniPeerMembers(String, Type)

Creates member access information for a Java class and managed peer type.

Properties

Name Description
InstanceFields

Gets the instance-field access helper.

InstanceMethods

Gets the instance-method access helper.

JniPeerType

Gets the lazily resolved Java class wrapper.

JniPeerTypeName

Gets the JNI peer type name after any runtime replacement.

ManagedPeerType

Gets the managed peer type associated with this member set.

StaticFields

Gets the static-field access helper.

StaticMethods

Gets the static-method access helper.

Methods

Name Description
Dispose(Boolean)

Releases initialized member caches and the cached Java type.

Dispose(JniPeerMembers)

Invokes the member set's managed disposal hook.

GetPeerMembers(IJavaPeerable)

Selects the member set for instance dispatch.

UsesVirtualDispatch(IJavaPeerable, Type)

Determines whether an instance call should use virtual dispatch.

Applies to