Språk

JniRuntime.JniTypeManager.GetType(JniTypeSignature) Method

Definition

Resolves one managed type for a JNI type signature.

public Type? GetType(Java.Interop.JniTypeSignature typeSignature);
override this.GetType : Java.Interop.JniTypeSignature -> Type

Parameters

typeSignature
JniTypeSignature

The JNI type signature to resolve.

Returns

The built-in or hook-resolved type, or null when no type is found.

Exceptions

The signature has a nonzero array rank and the type lookup hook resolves its element type. Use GetTypes(JniTypeSignature) for array signatures.

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