Exemple #1
0
        public virtual unsafe void SetMenuStateListener(global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Copybehavior.IMenuCallback p0)
        {
            if (id_setMenuStateListener_Lcom_liveperson_infra_messaging_ui_view_adapter_copybehavior_IMenuCallback_ == IntPtr.Zero)
            {
                id_setMenuStateListener_Lcom_liveperson_infra_messaging_ui_view_adapter_copybehavior_IMenuCallback_ = JNIEnv.GetMethodID(class_ref, "setMenuStateListener", "(Lcom/liveperson/infra/messaging_ui/view/adapter/copybehavior/IMenuCallback;)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_setMenuStateListener_Lcom_liveperson_infra_messaging_ui_view_adapter_copybehavior_IMenuCallback_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setMenuStateListener", "(Lcom/liveperson/infra/messaging_ui/view/adapter/copybehavior/IMenuCallback;)V"), __args);
                }
            } finally {
            }
        }
Exemple #2
0
 static void n_SetMenuStateListener_Lcom_liveperson_infra_messaging_ui_view_adapter_copybehavior_IMenuCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Copybehavior.CopyBehavior  __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Copybehavior.CopyBehavior> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Copybehavior.IMenuCallback p0     = (global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Copybehavior.IMenuCallback)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Copybehavior.IMenuCallback> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetMenuStateListener(p0);
 }
Exemple #3
0
 static void n_OnMenuClose(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Copybehavior.IMenuCallback __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Copybehavior.IMenuCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnMenuClose();
 }