Beispiel #1
0
 public static unsafe void SetUserProfile(global::Com.Liveperson.Messaging.Sdk.Api.Model.ConsumerProfile p0)
 {
     if (id_setUserProfile_Lcom_liveperson_messaging_sdk_api_model_ConsumerProfile_ == IntPtr.Zero)
     {
         id_setUserProfile_Lcom_liveperson_messaging_sdk_api_model_ConsumerProfile_ = JNIEnv.GetStaticMethodID(class_ref, "setUserProfile", "(Lcom/liveperson/messaging/sdk/api/model/ConsumerProfile;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallStaticVoidMethod(class_ref, id_setUserProfile_Lcom_liveperson_messaging_sdk_api_model_ConsumerProfile_, __args);
     } finally {
     }
 }
 static IntPtr n_GetPhoneNumber(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Sdk.Api.Model.ConsumerProfile __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Sdk.Api.Model.ConsumerProfile> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.PhoneNumber));
 }