#pragma warning restore 0649 public void OnResult(global::Com.Iflytek.Cloud.WakeuperResult p0) { var __h = OnResultHandler; if (__h != null) { __h(sender, new ResultEventArgs(p0)); } }
public unsafe void OnResult(global::Com.Iflytek.Cloud.WakeuperResult p0) { if (id_onResult_Lcom_iflytek_cloud_WakeuperResult_ == IntPtr.Zero) { id_onResult_Lcom_iflytek_cloud_WakeuperResult_ = JNIEnv.GetMethodID(class_ref, "onResult", "(Lcom/iflytek/cloud/WakeuperResult;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onResult_Lcom_iflytek_cloud_WakeuperResult_, __args); }
public ResultEventArgs(global::Com.Iflytek.Cloud.WakeuperResult p0) { this.p0 = p0; }