public virtual unsafe void Visit(global::Com.Liveperson.Infra.Sdkstatemachine.Events.ShutDownEvent p0)
        {
            if (id_visit_Lcom_liveperson_infra_sdkstatemachine_events_ShutDownEvent_ == IntPtr.Zero)
            {
                id_visit_Lcom_liveperson_infra_sdkstatemachine_events_ShutDownEvent_ = JNIEnv.GetMethodID(class_ref, "visit", "(Lcom/liveperson/infra/sdkstatemachine/events/ShutDownEvent;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_visit_Lcom_liveperson_infra_sdkstatemachine_events_ShutDownEvent_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "visit", "(Lcom/liveperson/infra/sdkstatemachine/events/ShutDownEvent;)V"), __args);
                }
            } finally {
            }
        }
 static IntPtr n_GetInitProcess(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Sdkstatemachine.Events.ShutDownEvent __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Sdkstatemachine.Events.ShutDownEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.InitProcess));
 }
 static void n_Visit_Lcom_liveperson_infra_sdkstatemachine_events_ShutDownEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Sdkstatemachine.BaseInfraState       __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Sdkstatemachine.BaseInfraState> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Sdkstatemachine.Events.ShutDownEvent p0     = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Sdkstatemachine.Events.ShutDownEvent> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Visit(p0);
 }
 static void n_Accept_Lcom_liveperson_infra_statemachine_interfaces_IState_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Sdkstatemachine.Events.ShutDownEvent __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Sdkstatemachine.Events.ShutDownEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IState       p0     = (global::Com.Liveperson.Infra.Statemachine.Interfaces.IState)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IState> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Accept(p0);
 }