static void n_AddOnUpdateListener_Lcom_liveperson_messaging_model_AmsMessages_MessagesListener_Lcom_liveperson_messaging_model_AmsMessages_MessagesSortedBy_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Liveperson.Messaging.Model.IAmsMessagesLoaderProvider __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.IAmsMessagesLoaderProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Messaging.Model.AmsMessages.IMessagesListener p0 = (global::Com.Liveperson.Messaging.Model.AmsMessages.IMessagesListener)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.AmsMessages.IMessagesListener> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Messaging.Model.AmsMessages.MessagesSortedBy p1 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.AmsMessages.MessagesSortedBy> (native_p1, JniHandleOwnership.DoNotTransfer); string p2 = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer); __this.AddOnUpdateListener(p0, p1, p2); }
public unsafe void AddOnUpdateListener(global::Com.Liveperson.Messaging.Model.AmsMessages.IMessagesListener p0, global::Com.Liveperson.Messaging.Model.AmsMessages.MessagesSortedBy p1, string p2) { if (id_addOnUpdateListener_Lcom_liveperson_messaging_model_AmsMessages_MessagesListener_Lcom_liveperson_messaging_model_AmsMessages_MessagesSortedBy_Ljava_lang_String_ == IntPtr.Zero) { id_addOnUpdateListener_Lcom_liveperson_messaging_model_AmsMessages_MessagesListener_Lcom_liveperson_messaging_model_AmsMessages_MessagesSortedBy_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "addOnUpdateListener", "(Lcom/liveperson/messaging/model/AmsMessages$MessagesListener;Lcom/liveperson/messaging/model/AmsMessages$MessagesSortedBy;Ljava/lang/String;)V"); } IntPtr native_p2 = JNIEnv.NewString(p2); JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(native_p2); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_addOnUpdateListener_Lcom_liveperson_messaging_model_AmsMessages_MessagesListener_Lcom_liveperson_messaging_model_AmsMessages_MessagesSortedBy_Ljava_lang_String_, __args); JNIEnv.DeleteLocalRef(native_p2); }