public unsafe BaseState(global::Com.Liveperson.Infra.Statemachine.BaseState p0, string p1, string p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p2 = JNIEnv.NewString(p2); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(native_p2); if (((object)this).GetType() != typeof(BaseState)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/infra/statemachine/BaseState;Ljava/lang/String;Ljava/lang/String;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/infra/statemachine/BaseState;Ljava/lang/String;Ljava/lang/String;)V", __args); return; } if (id_ctor_Lcom_liveperson_infra_statemachine_BaseState_Ljava_lang_String_Ljava_lang_String_ == IntPtr.Zero) { id_ctor_Lcom_liveperson_infra_statemachine_BaseState_Ljava_lang_String_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/infra/statemachine/BaseState;Ljava/lang/String;Ljava/lang/String;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_infra_statemachine_BaseState_Ljava_lang_String_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_infra_statemachine_BaseState_Ljava_lang_String_Ljava_lang_String_, __args); } finally { JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p2); } }
static void n_HandleDefaultEvent_Lcom_liveperson_infra_statemachine_interfaces_IEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Infra.Statemachine.BaseState __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.BaseState> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent p0 = (global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent> (native_p0, JniHandleOwnership.DoNotTransfer); __this.HandleDefaultEvent(p0); }
static void n_ActionOnExit(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Infra.Statemachine.BaseState __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.BaseState> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.ActionOnExit(); }