AndroidJNI.GetMethodID 获取方法ID

static function GetMethodID (clazz : IntPtr, name : string, sig : string) : IntPtr

Description描述

Returns the method ID for an instance (nonstatic) method of a class or interface.

返回类或接口实例(非静态)方法的方法 ID。方法可在某个 clazz 的超类中定义,也可从 clazz 继承。该方法由其名称和签名决定。

GetMethodID() 可使未初始化的类初始化。

参见: Java Native Interface Specification (Oracle)


,