chenqiyang
2021-08-20 7b95fb4d4549d3452ee17165236186afc1f2b393
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();
   }
}