static IntPtr n_GetAccountsController(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Messaging.Controller.Connection.IMessagingStateMachineInterface __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Controller.Connection.IMessagingStateMachineInterface> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.AccountsController)); }
public unsafe ConnectionTasksHolder(global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachine p0, global::Com.Liveperson.Messaging.Controller.Connection.IMessagingStateMachineInterface p1, string p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p2 = JNIEnv.NewString(p2); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(native_p2); if (((object)this).GetType() != typeof(ConnectionTasksHolder)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/infra/statemachine/interfaces/IStateMachine;Lcom/liveperson/messaging/controller/connection/MessagingStateMachineInterface;Ljava/lang/String;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/infra/statemachine/interfaces/IStateMachine;Lcom/liveperson/messaging/controller/connection/MessagingStateMachineInterface;Ljava/lang/String;)V", __args); return; } if (id_ctor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachine_Lcom_liveperson_messaging_controller_connection_MessagingStateMachineInterface_Ljava_lang_String_ == IntPtr.Zero) { id_ctor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachine_Lcom_liveperson_messaging_controller_connection_MessagingStateMachineInterface_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/infra/statemachine/interfaces/IStateMachine;Lcom/liveperson/messaging/controller/connection/MessagingStateMachineInterface;Ljava/lang/String;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachine_Lcom_liveperson_messaging_controller_connection_MessagingStateMachineInterface_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachine_Lcom_liveperson_messaging_controller_connection_MessagingStateMachineInterface_Ljava_lang_String_, __args); } finally { JNIEnv.DeleteLocalRef(native_p2); } }