From be56723cce4cd60ddc144ebe6ac20607675b3006 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 17 七月 2024 09:33:38 +0800 Subject: [PATCH] 更新sdk --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs index c01318a..eaff90e 100644 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs @@ -5,8 +5,8 @@ namespace Shared.IOS.HDLLinphoneSDK { [Static] - //[Verify(ConstantsInterfaceAssociation)] - partial interface Constants + //[Verify(ConstantsInterfaceAssociation)] + partial interface Constants { // extern NSString *const _Nonnull HDLLPCallDelegateOpenDoorSuccess; [Field("HDLLPCallDelegateOpenDoorSuccess", "__Internal")] @@ -39,9 +39,9 @@ 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] @@ -91,10 +91,18 @@ [Export("callWithUserName:title:")] void CallWithUserName(string username, string title); + // -(void)callHDLSRWithUserName:(NSString*)username title:(NSString *)title; + [Export("callHDLSRWithUserName:title:")] + void CallHDLSRWithUserName(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(); -- Gitblit v1.8.0