Exemplo n.º 1
0
        static bool n_NewerThan_Lcom_liveperson_messaging_model_QuickRepliesMessageHolder_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder p0     = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder> (native_p0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.NewerThan(p0);

            return(__ret);
        }
Exemplo n.º 2
0
        public unsafe global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder GetQuickRepliesMessageHolder(string p0)
        {
            if (id_getQuickRepliesMessageHolder_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_getQuickRepliesMessageHolder_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "getQuickRepliesMessageHolder", "(Ljava/lang/String;)Lcom/liveperson/messaging/model/QuickRepliesMessageHolder;");
            }
            IntPtr  native_p0 = JNIEnv.NewString(p0);
            JValue *__args    = stackalloc JValue [1];

            __args [0] = new JValue(native_p0);
            global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder __ret = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getQuickRepliesMessageHolder_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
            JNIEnv.DeleteLocalRef(native_p0);
            return(__ret);
        }
Exemplo n.º 3
0
        public static unsafe global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder LoadFromSharedPreferences(string p0)
        {
            if (id_loadFromSharedPreferences_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_loadFromSharedPreferences_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "loadFromSharedPreferences", "(Ljava/lang/String;)Lcom/liveperson/messaging/model/QuickRepliesMessageHolder;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);
                global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder __ret = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder> (JNIEnv.CallStaticObjectMethod(class_ref, id_loadFromSharedPreferences_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Exemplo n.º 4
0
        public static unsafe global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder FromContentEventNotification(string p0, global::Com.Liveperson.Api.Response.Events.ContentEventNotification p1)
        {
            if (id_fromContentEventNotification_Ljava_lang_String_Lcom_liveperson_api_response_events_ContentEventNotification_ == IntPtr.Zero)
            {
                id_fromContentEventNotification_Ljava_lang_String_Lcom_liveperson_api_response_events_ContentEventNotification_ = JNIEnv.GetStaticMethodID(class_ref, "fromContentEventNotification", "(Ljava/lang/String;Lcom/liveperson/api/response/events/ContentEventNotification;)Lcom/liveperson/messaging/model/QuickRepliesMessageHolder;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder __ret = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder> (JNIEnv.CallStaticObjectMethod(class_ref, id_fromContentEventNotification_Ljava_lang_String_Lcom_liveperson_api_response_events_ContentEventNotification_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Exemplo n.º 5
0
        public virtual unsafe bool NewerThan(global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder p0)
        {
            if (id_newerThan_Lcom_liveperson_messaging_model_QuickRepliesMessageHolder_ == IntPtr.Zero)
            {
                id_newerThan_Lcom_liveperson_messaging_model_QuickRepliesMessageHolder_ = JNIEnv.GetMethodID(class_ref, "newerThan", "(Lcom/liveperson/messaging/model/QuickRepliesMessageHolder;)Z");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                bool __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_newerThan_Lcom_liveperson_messaging_model_QuickRepliesMessageHolder_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "newerThan", "(Lcom/liveperson/messaging/model/QuickRepliesMessageHolder;)Z"), __args);
                }
                return(__ret);
            } finally {
            }
        }
Exemplo n.º 6
0
 static bool n_IsValid(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsValid);
 }
Exemplo n.º 7
0
 static void n_WriteToSharedPreferences(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.WriteToSharedPreferences();
 }
Exemplo n.º 8
0
 static void n_SetShow_Z(IntPtr jnienv, IntPtr native__this, bool p0)
 {
     global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Show = p0;
 }
Exemplo n.º 9
0
 static IntPtr n_GetQuickRepliesString(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.QuickRepliesMessageHolder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.QuickRepliesString));
 }