public virtual unsafe void SetCallback(global::Com.Liveperson.Messaging.Commands.SendFileCommand.ISendFileCommandListener p0) { if (id_setCallback_Lcom_liveperson_messaging_commands_SendFileCommand_SendFileCommandListener_ == IntPtr.Zero) { id_setCallback_Lcom_liveperson_messaging_commands_SendFileCommand_SendFileCommandListener_ = JNIEnv.GetMethodID(class_ref, "setCallback", "(Lcom/liveperson/messaging/commands/SendFileCommand$SendFileCommandListener;)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_setCallback_Lcom_liveperson_messaging_commands_SendFileCommand_SendFileCommandListener_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setCallback", "(Lcom/liveperson/messaging/commands/SendFileCommand$SendFileCommandListener;)V"), __args); } } finally { } }
static void n_OnMessageUpdatedInDB(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Messaging.Commands.SendFileCommand.ISendFileCommandListener __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Commands.SendFileCommand.ISendFileCommandListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnMessageUpdatedInDB(); }
static void n_SetCallback_Lcom_liveperson_messaging_commands_SendFileCommand_SendFileCommandListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Messaging.Commands.SendFileCommand __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Commands.SendFileCommand> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Messaging.Commands.SendFileCommand.ISendFileCommandListener p0 = (global::Com.Liveperson.Messaging.Commands.SendFileCommand.ISendFileCommandListener)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Commands.SendFileCommand.ISendFileCommandListener> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetCallback(p0); }
static void n_OnFileAddedToDB_JJ(IntPtr jnienv, IntPtr native__this, long p0, long p1) { global::Com.Liveperson.Messaging.Commands.SendFileCommand.ISendFileCommandListener __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Commands.SendFileCommand.ISendFileCommandListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnFileAddedToDB(p0, p1); }