From 83d5ada866a598ee868d3e23624d104d1027db29 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 27 八月 2024 15:28:42 +0800
Subject: [PATCH] 增加挂断功能

---
 Shared.Droid.HDLLinphone/Shared.Droid.HDLLinphone/obj/Release/generated/src/Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener.cs |   80 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 79 insertions(+), 1 deletions(-)

diff --git a/Shared.Droid.HDLLinphone/Shared.Droid.HDLLinphone/obj/Release/generated/src/Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener.cs b/Shared.Droid.HDLLinphone/Shared.Droid.HDLLinphone/obj/Release/generated/src/Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener.cs
index 1245de0..ee2f371 100644
--- a/Shared.Droid.HDLLinphone/Shared.Droid.HDLLinphone/obj/Release/generated/src/Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener.cs
+++ b/Shared.Droid.HDLLinphone/Shared.Droid.HDLLinphone/obj/Release/generated/src/Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener.cs
@@ -12,6 +12,10 @@
 		[Register ("onAnswerAction", "()V", "GetOnAnswerActionHandler:Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerInvoker, Shared.Droid.HDLLinphone")]
 		void OnAnswerAction ();
 
+		// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.callback']/interface[@name='OnHDLLinphoneCallListener']/method[@name='onCallAllRejection' and count(parameter)=0]"
+		[Register ("onCallAllRejection", "()V", "GetOnCallAllRejectionHandler:Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerInvoker, Shared.Droid.HDLLinphone")]
+		void OnCallAllRejection ();
+
 		// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.callback']/interface[@name='OnHDLLinphoneCallListener']/method[@name='onHangUpAction' and count(parameter)=1 and parameter[1][@type='int']]"
 		[Register ("onHangUpAction", "(I)V", "GetOnHangUpAction_IHandler:Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerInvoker, Shared.Droid.HDLLinphone")]
 		void OnHangUpAction (int p0);
@@ -19,6 +23,10 @@
 		// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.callback']/interface[@name='OnHDLLinphoneCallListener']/method[@name='onIncomingCall' and count(parameter)=1 and parameter[1][@type='java.lang.String']]"
 		[Register ("onIncomingCall", "(Ljava/lang/String;)V", "GetOnIncomingCall_Ljava_lang_String_Handler:Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerInvoker, Shared.Droid.HDLLinphone")]
 		void OnIncomingCall (string p0);
+
+		// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.callback']/interface[@name='OnHDLLinphoneCallListener']/method[@name='onMissedCallsAction' and count(parameter)=0]"
+		[Register ("onMissedCallsAction", "()V", "GetOnMissedCallsActionHandler:Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerInvoker, Shared.Droid.HDLLinphone")]
+		void OnMissedCallsAction ();
 
 		// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.callback']/interface[@name='OnHDLLinphoneCallListener']/method[@name='onRejectCallAction' and count(parameter)=0]"
 		[Register ("onRejectCallAction", "()V", "GetOnRejectCallActionHandler:Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerInvoker, Shared.Droid.HDLLinphone")]
@@ -113,6 +121,30 @@
 			JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onAnswerAction);
 		}
 
+		static Delegate cb_onCallAllRejection;
+#pragma warning disable 0169
+		static Delegate GetOnCallAllRejectionHandler ()
+		{
+			if (cb_onCallAllRejection == null)
+				cb_onCallAllRejection = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_OnCallAllRejection));
+			return cb_onCallAllRejection;
+		}
+
+		static void n_OnCallAllRejection (IntPtr jnienv, IntPtr native__this)
+		{
+			var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
+			__this.OnCallAllRejection ();
+		}
+#pragma warning restore 0169
+
+		IntPtr id_onCallAllRejection;
+		public unsafe void OnCallAllRejection ()
+		{
+			if (id_onCallAllRejection == IntPtr.Zero)
+				id_onCallAllRejection = JNIEnv.GetMethodID (class_ref, "onCallAllRejection", "()V");
+			JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onCallAllRejection);
+		}
+
 		static Delegate cb_onHangUpAction_I;
 #pragma warning disable 0169
 		static Delegate GetOnHangUpAction_IHandler ()
@@ -166,6 +198,30 @@
 			__args [0] = new JValue (native_p0);
 			JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onIncomingCall_Ljava_lang_String_, __args);
 			JNIEnv.DeleteLocalRef (native_p0);
+		}
+
+		static Delegate cb_onMissedCallsAction;
+#pragma warning disable 0169
+		static Delegate GetOnMissedCallsActionHandler ()
+		{
+			if (cb_onMissedCallsAction == null)
+				cb_onMissedCallsAction = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_OnMissedCallsAction));
+			return cb_onMissedCallsAction;
+		}
+
+		static void n_OnMissedCallsAction (IntPtr jnienv, IntPtr native__this)
+		{
+			var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
+			__this.OnMissedCallsAction ();
+		}
+#pragma warning restore 0169
+
+		IntPtr id_onMissedCallsAction;
+		public unsafe void OnMissedCallsAction ()
+		{
+			if (id_onMissedCallsAction == IntPtr.Zero)
+				id_onMissedCallsAction = JNIEnv.GetMethodID (class_ref, "onMissedCallsAction", "()V");
+			JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onMissedCallsAction);
 		}
 
 		static Delegate cb_onRejectCallAction;
@@ -313,6 +369,17 @@
 		}
 
 		#pragma warning disable 0649
+		public EventHandler OnCallAllRejectionHandler;
+		#pragma warning restore 0649
+
+		public void OnCallAllRejection ()
+		{
+			var __h = OnCallAllRejectionHandler;
+			if (__h != null)
+				__h (sender, new EventArgs ());
+		}
+
+		#pragma warning disable 0649
 		public EventHandler<HangUpActionEventArgs> OnHangUpActionHandler;
 		#pragma warning restore 0649
 
@@ -332,6 +399,17 @@
 			var __h = OnIncomingCallHandler;
 			if (__h != null)
 				__h (sender, new IncomingCallEventArgs (p0));
+		}
+
+		#pragma warning disable 0649
+		public EventHandler OnMissedCallsActionHandler;
+		#pragma warning restore 0649
+
+		public void OnMissedCallsAction ()
+		{
+			var __h = OnMissedCallsActionHandler;
+			if (__h != null)
+				__h (sender, new EventArgs ());
 		}
 
 		#pragma warning disable 0649
@@ -369,7 +447,7 @@
 
 		internal static bool __IsEmpty (IOnHDLLinphoneCallListenerImplementor value)
 		{
-			return value.OnAnswerActionHandler == null && value.OnHangUpActionHandler == null && value.OnIncomingCallHandler == null && value.OnRejectCallActionHandler == null && value.OnScreenshotSuccessfulActionHandler == null && value.OnUnlockActionHandler == null;
+			return value.OnAnswerActionHandler == null && value.OnCallAllRejectionHandler == null && value.OnHangUpActionHandler == null && value.OnIncomingCallHandler == null && value.OnMissedCallsActionHandler == null && value.OnRejectCallActionHandler == null && value.OnScreenshotSuccessfulActionHandler == null && value.OnUnlockActionHandler == null;
 		}
 
 	}

--
Gitblit v1.8.0