From 7b95fb4d4549d3452ee17165236186afc1f2b393 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期五, 20 八月 2021 17:14:42 +0800
Subject: [PATCH] 增加监视功能,关联相关代理

---
 Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs |   57 +++++++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 43 insertions(+), 14 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs
index b362199..c01318a 100644
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs
@@ -4,17 +4,17 @@
 
 namespace Shared.IOS.HDLLinphoneSDK
 {
-    //[Static]
-    //[Verify(ConstantsInterfaceAssociation)]
-    //partial interface Constants
-    //{
-    //    // extern NSString *const _Nonnull LCCallDelegateOpenDoorSuccess;
-    //    [Field("LCCallDelegateOpenDoorSuccess", "__Internal")]
-    //    NSString LCCallDelegateOpenDoorSuccess { get; }
-    //}
+	[Static]
+	//[Verify(ConstantsInterfaceAssociation)]
+	partial interface Constants
+	{
+		// extern NSString *const _Nonnull HDLLPCallDelegateOpenDoorSuccess;
+		[Field("HDLLPCallDelegateOpenDoorSuccess", "__Internal")]
+		NSString HDLLPCallDelegateOpenDoorSuccess { get; }
+	}
 
-    // @protocol HDLLinphoneCallDelegate <NSObject>
-    [Protocol, Model(AutoGeneratedName = true)]
+	// @protocol HDLLinphoneCallDelegate <NSObject>
+	[Protocol, Model(AutoGeneratedName = true)]
 	[BaseType(typeof(NSObject))]
 	interface HDLLinphoneCallDelegate
 	{
@@ -39,12 +39,17 @@
 		void OnHangUpAction(int callDuration);
 
 		// @required -(void)onScreenshotSuccessfulAction:(UIImage * _Nonnull)image;
-		//[Abstract]
-		//[Export("onScreenshotSuccessfulAction:")]
-		//void OnScreenshotSuccessfulAction(UIImage image);
+		[Abstract]
+		[Export("onScreenshotSuccessfulAction:")]
+		void OnScreenshotSuccessfulAction(UIImage image);
+
+		// @required -(void)onIncomingCall:(NSString * _Nonnull)userName;
+		[Abstract]
+		[Export("onIncomingCall:")]
+		void OnIncomingCall(string userName);
 	}
 
-	//// @interface HDLLinphoneCallDelegate : NSObject
+	// @interface HDLLinphoneCallDelegate : NSObject
 	//[BaseType(typeof(NSObject))]
 	//interface HDLLinphoneCallDelegate
 	//{
@@ -61,6 +66,14 @@
 		[NullAllowed, Export("hdlLinphoneCallDelegate", ArgumentSemantic.Weak)]
 		NSObject WeakHdlLinphoneCallDelegate { get; set; }
 
+		// @property (assign, nonatomic) BOOL IsAutoJumpCallView;
+		[Export("IsAutoJumpCallView")]
+		bool IsAutoJumpCallView { get; set; }
+
+		// @property (assign, nonatomic) BOOL IsIncomingReceivedCallState;
+		[Export("IsIncomingReceivedCallState")]
+		bool IsIncomingReceivedCallState { get; set; }
+
 		// +(instancetype)instance;
 		[Static]
 		[Export("instance")]
@@ -73,5 +86,21 @@
 		// -(void)initalLinPhone;
 		[Export("initalLinPhone")]
 		void InitalLinPhone();
+
+		// -(void)callWithUserName:(NSString *)username title:(NSString *)title;
+		[Export("callWithUserName:title:")]
+		void CallWithUserName(string username, string title);
+
+		// -(void)gotoHDLLinphoneIntercomVC:(NSString *)titleName;
+		[Export("gotoHDLLinphoneIntercomVC:")]
+		void GotoHDLLinphoneIntercomVC(string titleName);
+
+		// -(void)logoutAllLinphoneUser;
+		[Export("logoutAllLinphoneUser")]
+		void LogoutAllLinphoneUser();
+
+		// -(void)clearAllConfigs;
+		[Export("clearAllConfigs")]
+		void ClearAllConfigs();
 	}
 }

--
Gitblit v1.8.0