static void n_SetAppInstallId_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Infra.MonitoringInitParams __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.MonitoringInitParams> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.AppInstallId = p0; }
public unsafe InitLivePersonProperties(string p0, string p1, global::Com.Liveperson.Infra.MonitoringInitParams p2, global::Com.Liveperson.Infra.Callbacks.IInitLivePersonCallBack p3) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p1 = JNIEnv.NewString(p1); try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(native_p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); if (((object)this).GetType() != typeof(InitLivePersonProperties)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/infra/MonitoringInitParams;Lcom/liveperson/infra/callbacks/InitLivePersonCallBack;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/infra/MonitoringInitParams;Lcom/liveperson/infra/callbacks/InitLivePersonCallBack;)V", __args); return; } if (id_ctor_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_infra_MonitoringInitParams_Lcom_liveperson_infra_callbacks_InitLivePersonCallBack_ == IntPtr.Zero) { id_ctor_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_infra_MonitoringInitParams_Lcom_liveperson_infra_callbacks_InitLivePersonCallBack_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/infra/MonitoringInitParams;Lcom/liveperson/infra/callbacks/InitLivePersonCallBack;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_infra_MonitoringInitParams_Lcom_liveperson_infra_callbacks_InitLivePersonCallBack_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_infra_MonitoringInitParams_Lcom_liveperson_infra_callbacks_InitLivePersonCallBack_, __args); } finally { JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p1); } }
static IntPtr n_GetAppInstallId(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Infra.MonitoringInitParams __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.MonitoringInitParams> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.AppInstallId)); }