From b897bf1e118e69764da20ef6668ef5d9ec1653e8 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期四, 25 五月 2023 09:33:38 +0800
Subject: [PATCH] 增加监视结束国际化
---
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs | 53 +++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 43 insertions(+), 10 deletions(-)
diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs
index b362199..61457d9 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]
+ [Static]
//[Verify(ConstantsInterfaceAssociation)]
- //partial interface Constants
- //{
- // // extern NSString *const _Nonnull LCCallDelegateOpenDoorSuccess;
- // [Field("LCCallDelegateOpenDoorSuccess", "__Internal")]
- // NSString LCCallDelegateOpenDoorSuccess { get; }
- //}
+ 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
{
@@ -42,9 +42,14 @@
//[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,25 @@
// -(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)gotoHDLSRLinphoneIntercomVC:(NSString *)titleName userName:(NSString *)username;
+ [Export("gotoHDLSRLinphoneIntercomVC:userName:")]
+ void GotoHDLSRLinphoneIntercomVC(string titleName, string username);
+
+ // -(void)logoutAllLinphoneUser;
+ [Export("logoutAllLinphoneUser")]
+ void LogoutAllLinphoneUser();
+
+ // -(void)clearAllConfigs;
+ [Export("clearAllConfigs")]
+ void ClearAllConfigs();
}
}
--
Gitblit v1.8.0