#pragma warning restore 0649 public void OnTemperatureAbnormalStatusUpdate(string p0, global::Com.Vivalnk.Vdireader.VDIType.ABNORMAL_TEMPERATURE_STATUS p1) { var __h = OnTemperatureAbnormalStatusUpdateHandler; if (__h != null) { __h(sender, new TemperatureAbnormalStatusUpdateEventArgs(p0, p1)); } }
public unsafe void OnTemperatureAbnormalStatusUpdate(string p0, global::Com.Vivalnk.Vdireader.VDIType.ABNORMAL_TEMPERATURE_STATUS p1) { if (id_onTemperatureAbnormalStatusUpdate_Ljava_lang_String_Lcom_vivalnk_vdireader_VDIType_ABNORMAL_TEMPERATURE_STATUS_ == IntPtr.Zero) { id_onTemperatureAbnormalStatusUpdate_Ljava_lang_String_Lcom_vivalnk_vdireader_VDIType_ABNORMAL_TEMPERATURE_STATUS_ = JNIEnv.GetMethodID(class_ref, "onTemperatureAbnormalStatusUpdate", "(Ljava/lang/String;Lcom/vivalnk/vdireader/VDIType$ABNORMAL_TEMPERATURE_STATUS;)V"); } IntPtr native_p0 = JNIEnv.NewString(p0); JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onTemperatureAbnormalStatusUpdate_Ljava_lang_String_Lcom_vivalnk_vdireader_VDIType_ABNORMAL_TEMPERATURE_STATUS_, __args); JNIEnv.DeleteLocalRef(native_p0); }
public TemperatureAbnormalStatusUpdateEventArgs(string p0, global::Com.Vivalnk.Vdireader.VDIType.ABNORMAL_TEMPERATURE_STATUS p1) { this.p0 = p0; this.p1 = p1; }