public unsafe void Init(global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Data.PalDiscoveryDeviceInfo p0, global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IDevInfoTransDevInfoTransListener p1) { if (id_init_Lcom_aliyun_alink_linksdk_alcs_lpbs_data_PalDiscoveryDeviceInfo_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_IDevInfoTrans_IDevInfoTransListener_ == IntPtr.Zero) { id_init_Lcom_aliyun_alink_linksdk_alcs_lpbs_data_PalDiscoveryDeviceInfo_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_IDevInfoTrans_IDevInfoTransListener_ = JNIEnv.GetMethodID(class_ref, "init", "(Lcom/aliyun/alink/linksdk/alcs/lpbs/data/PalDiscoveryDeviceInfo;Lcom/aliyun/alink/linksdk/alcs/lpbs/component/cloud/IDevInfoTrans$IDevInfoTransListener;)V"); } JValue *__args = stackalloc JValue [2]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_init_Lcom_aliyun_alink_linksdk_alcs_lpbs_data_PalDiscoveryDeviceInfo_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_IDevInfoTrans_IDevInfoTransListener_, __args); }
static void n_OnComplete_ZLjava_lang_Object_(IntPtr jnienv, IntPtr native__this, bool p0, IntPtr native_p1) { global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IDevInfoTransDevInfoTransListener __this = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IDevInfoTransDevInfoTransListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnComplete(p0, p1); }
static void n_Init_Lcom_aliyun_alink_linksdk_alcs_lpbs_data_PalDiscoveryDeviceInfo_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_IDevInfoTrans_IDevInfoTransListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IDevInfoTrans __this = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IDevInfoTrans> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Data.PalDiscoveryDeviceInfo p0 = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Data.PalDiscoveryDeviceInfo> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IDevInfoTransDevInfoTransListener p1 = (global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IDevInfoTransDevInfoTransListener)global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IDevInfoTransDevInfoTransListener> (native_p1, JniHandleOwnership.DoNotTransfer); __this.Init(p0, p1); }