static void n_SetBrandID_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Messaging.Model.MessagingUserProfile __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingUserProfile> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.SetBrandID(p0); }
public unsafe global::Com.Liveperson.Messaging.Model.MessagingUserProfile LoadMessagingUserProfile(string p0) { if (id_loadMessagingUserProfile_Ljava_lang_String_ == IntPtr.Zero) { id_loadMessagingUserProfile_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "loadMessagingUserProfile", "(Ljava/lang/String;)Lcom/liveperson/messaging/model/MessagingUserProfile;"); } IntPtr native_p0 = JNIEnv.NewString(p0); JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); global::Com.Liveperson.Messaging.Model.MessagingUserProfile __ret = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingUserProfile> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_loadMessagingUserProfile_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
public virtual unsafe void UpdateUserProfile(global::Com.Liveperson.Messaging.Model.MessagingUserProfile p0) { if (id_updateUserProfile_Lcom_liveperson_messaging_model_MessagingUserProfile_ == IntPtr.Zero) { id_updateUserProfile_Lcom_liveperson_messaging_model_MessagingUserProfile_ = JNIEnv.GetMethodID(class_ref, "updateUserProfile", "(Lcom/liveperson/messaging/model/MessagingUserProfile;)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_updateUserProfile_Lcom_liveperson_messaging_model_MessagingUserProfile_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "updateUserProfile", "(Lcom/liveperson/messaging/model/MessagingUserProfile;)V"), __args); } } finally { } }
static void n_SetUserEncryptionVersion_Lcom_liveperson_infra_utils_EncryptionVersion_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Messaging.Model.MessagingUserProfile __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingUserProfile> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Infra.Utils.EncryptionVersion p0 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Utils.EncryptionVersion> (native_p0, JniHandleOwnership.DoNotTransfer); __this.UserEncryptionVersion = p0; }
static IntPtr n_GetUserEncryptionVersion(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Messaging.Model.MessagingUserProfile __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingUserProfile> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.UserEncryptionVersion)); }
static bool n_IsEmptyUser(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Messaging.Model.MessagingUserProfile __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingUserProfile> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IsEmptyUser); }
static IntPtr n_GetBrandId(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Messaging.Model.MessagingUserProfile __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingUserProfile> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.BrandId)); }
public unsafe SetUsersProfileRequest(global::Com.Liveperson.Messaging.Model.AmsUsers p0, string p1, string p2, global::Com.Liveperson.Messaging.Model.MessagingUserProfile p3) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p2 = JNIEnv.NewString(p2); try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(native_p2); __args [3] = new JValue(p3); if (((object)this).GetType() != typeof(SetUsersProfileRequest)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/messaging/model/AmsUsers;Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/messaging/model/MessagingUserProfile;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/messaging/model/AmsUsers;Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/messaging/model/MessagingUserProfile;)V", __args); return; } if (id_ctor_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_messaging_model_MessagingUserProfile_ == IntPtr.Zero) { id_ctor_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_messaging_model_MessagingUserProfile_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/model/AmsUsers;Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/messaging/model/MessagingUserProfile;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_messaging_model_MessagingUserProfile_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_messaging_model_MessagingUserProfile_, __args); } finally { JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p2); } }
static void n_UpdateUserProfile_Lcom_liveperson_messaging_model_MessagingUserProfile_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Messaging.Model.AmsUsers __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.AmsUsers> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Messaging.Model.MessagingUserProfile p0 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingUserProfile> (native_p0, JniHandleOwnership.DoNotTransfer); __this.UpdateUserProfile(p0); }