AndroidJNIHelper.GetConstructorID 获取构造函数ID

static function GetConstructorID (javaClass : IntPtr, signature : string = "") : IntPtr

Parameters参数

Description描述

Scans a particular Java class for a constructor method matching a signature.

扫描一个特定的Java类,用于一个构造方法匹配的签名。

The signature comparison is done to allow for sub-/base-classes of the class types. If no signature is provided the first constuctor found will be returned.

签名比较是为了类的类型的sub-/base-classes。如果没有提供

签名,首次构造发现将被返回。

参见: AndroidJNIHelper.GetSignature, AndroidJNIHelper.GetMethodID, AndroidJNIHelper.GetFieldID

o static function GetConstructorID (jclass : System.IntPtr, args : object[]) : System.IntPtr

Parameters参数

Description描述

Get a JNI method ID for a constructor based on calling arguments.

获取一个JNI方法ID,用于一个根据调用参数的构造函数。

Scans a particular Java class for a constructor method matching a signature based on passed arguments. The signature comparison is done to allow for sub-/base-classes of the class types.

扫描一个特定的Java类,用于一个构造方法匹配的签名,根据传递参数。签名比较是为了类的类型的sub-/base-classes。

Page last updated: 2011-4-8