From 6a63c4281fbe7e17103115320cd276397d733081 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期五, 27 八月 2021 09:28:10 +0800 Subject: [PATCH] 替换最新的.a --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs | 49 +++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 39 insertions(+), 10 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs index f78ffac..964bd28 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,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