Exemple #1
0
        public virtual unsafe void SetListener(global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.AttachmentMenu.IAttachmentMenuListener p0)
        {
            if (id_setListener_Lcom_liveperson_infra_messaging_ui_uicomponents_AttachmentMenu_AttachmentMenuListener_ == IntPtr.Zero)
            {
                id_setListener_Lcom_liveperson_infra_messaging_ui_uicomponents_AttachmentMenu_AttachmentMenuListener_ = JNIEnv.GetMethodID(class_ref, "setListener", "(Lcom/liveperson/infra/messaging_ui/uicomponents/AttachmentMenu$AttachmentMenuListener;)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_setListener_Lcom_liveperson_infra_messaging_ui_uicomponents_AttachmentMenu_AttachmentMenuListener_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setListener", "(Lcom/liveperson/infra/messaging_ui/uicomponents/AttachmentMenu$AttachmentMenuListener;)V"), __args);
                }
            } finally {
            }
        }
Exemple #2
0
 static void n_OnCameraButtonPressed(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.AttachmentMenu.IAttachmentMenuListener __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.AttachmentMenu.IAttachmentMenuListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnCameraButtonPressed();
 }
Exemple #3
0
 static void n_SetListener_Lcom_liveperson_infra_messaging_ui_uicomponents_AttachmentMenu_AttachmentMenuListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.AttachmentMenu __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.AttachmentMenu> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.AttachmentMenu.IAttachmentMenuListener p0 = (global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.AttachmentMenu.IAttachmentMenuListener)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.AttachmentMenu.IAttachmentMenuListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetListener(p0);
 }