public unsafe void ReportData(string p0, global::Java.Lang.Object p1, global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannelChannelActionListener p2) { if (id_reportData_Ljava_lang_String_Ljava_lang_Object_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_IThingCloudChannel_IChannelActionListener_ == IntPtr.Zero) { id_reportData_Ljava_lang_String_Ljava_lang_Object_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_IThingCloudChannel_IChannelActionListener_ = JNIEnv.GetMethodID(class_ref, "reportData", "(Ljava/lang/String;Ljava/lang/Object;Lcom/aliyun/alink/linksdk/alcs/lpbs/component/cloud/IThingCloudChannel$IChannelActionListener;)V"); } IntPtr native_p0 = JNIEnv.NewString(p0); JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(native_p0); __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle); __args [2] = new JValue((p2 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p2).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_reportData_Ljava_lang_String_Ljava_lang_Object_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_IThingCloudChannel_IChannelActionListener_, __args); JNIEnv.DeleteLocalRef(native_p0); }
static void n_OnFailed_Lcom_aliyun_alink_linksdk_tools_AError_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannelChannelActionListener __this = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannelChannelActionListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Aliyun.Alink.Linksdk.Tools.AError p0 = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Tools.AError> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnFailed(p0); }
static void n_ReportData_Ljava_lang_String_Ljava_lang_Object_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_IThingCloudChannel_IChannelActionListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannel __this = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannel> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p1, JniHandleOwnership.DoNotTransfer); global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannelChannelActionListener p2 = (global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannelChannelActionListener)global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannelChannelActionListener> (native_p2, JniHandleOwnership.DoNotTransfer); __this.ReportData(p0, p1, p2); }
static void n_OnSuccess(IntPtr jnienv, IntPtr native__this) { global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannelChannelActionListener __this = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.IThingCloudChannelChannelActionListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnSuccess(); }