Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/ApiDefinition.cs
@@ -1,11 +1,77 @@ using System; using Foundation; using ObjCRuntime; using Foundation; using UIKit; namespace Shared.IOS.HDLLinphoneSDK { } //[Static] //[Verify(ConstantsInterfaceAssociation)] //partial interface Constants //{ // // extern NSString *const _Nonnull LCCallDelegateOpenDoorSuccess; // [Field("LCCallDelegateOpenDoorSuccess", "__Internal")] // NSString LCCallDelegateOpenDoorSuccess { get; } //} // @protocol HDLLinphoneCallDelegate <NSObject> [Protocol, Model(AutoGeneratedName = true)] [BaseType(typeof(NSObject))] interface HDLLinphoneCallDelegate { // @required -(void)onAnswerAction; [Abstract] [Export("onAnswerAction")] void OnAnswerAction(); // @required -(void)onRejectCallAction; [Abstract] [Export("onRejectCallAction")] void OnRejectCallAction(); // @required -(void)onUnlockAction; [Abstract] [Export("onUnlockAction")] void OnUnlockAction(); // @required -(void)onHangUpAction:(int)callDuration; [Abstract] [Export("onHangUpAction:")] void OnHangUpAction(int callDuration); // @required -(void)onScreenshotSuccessfulAction:(UIImage * _Nonnull)image; [Abstract] [Export("onScreenshotSuccessfulAction:")] void OnScreenshotSuccessfulAction(UIImage image); } //// @interface HDLLinphoneCallDelegate : NSObject //[BaseType(typeof(NSObject))] //interface HDLLinphoneCallDelegate //{ //} // @interface HDLLinPhoneSDK : NSObject [BaseType(typeof(NSObject))] interface HDLLinPhoneSDK { [Wrap("WeakHdlLinphoneCallDelegate")] HDLLinphoneCallDelegate HdlLinphoneCallDelegate { get; set; } // @property (nonatomic, weak) id<HDLLinphoneCallDelegate> hdlLinphoneCallDelegate; [NullAllowed, Export("hdlLinphoneCallDelegate", ArgumentSemantic.Weak)] NSObject WeakHdlLinphoneCallDelegate { get; set; } // +(instancetype)instance; [Static] [Export("instance")] HDLLinPhoneSDK Instance(); // -(void)login:(NSString *)username password:(NSString *)pwd domain:(NSString *)domain; [Export("login:password:domain:")] void Login(string username, string pwd, string domain); // -(void)initalLinPhone; [Export("initalLinPhone")] void InitalLinPhone(); } } Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/Project/arm.swiftsourceinfoBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfoBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/Project/arm64.swiftsourceinfoBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/Project/armv7-apple-ios.swiftsourceinfoBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/Project/armv7.swiftsourceinfoBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/arm.swiftdocBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/arm.swiftmoduleBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/arm64-apple-ios.swiftdocBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/arm64-apple-ios.swiftmoduleBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/arm64.swiftdocBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/arm64.swiftmoduleBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/armv7-apple-ios.swiftdocBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/armv7-apple-ios.swiftmoduleBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/armv7.swiftdocBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/HDLLinPhoneSDK.swiftmodule/armv7.swiftmoduleBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/libHDLLinPhoneSDK.aBinary files differ
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Resources/ic_esvideo_on_answer.png
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Resources/ic_esvideo_on_back.png
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Resources/ic_esvideo_on_hangup.png
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Resources/ic_esvideo_on_takephoto_select.png
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Resources/ic_esvideo_on_takephoto_unselect.png
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Resources/ic_esvideo_on_unlock_select.png
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Resources/ic_esvideo_on_unlock_unselect.png
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK.csproj
@@ -46,5 +46,24 @@ <ItemGroup> <ObjcBindingCoreSource Include="Structs.cs" /> </ItemGroup> <ItemGroup> <NativeReference Include="Library\libHDLLinPhoneSDK.a"> <Kind>Static</Kind> <SmartLink>False</SmartLink> </NativeReference> <NativeReference Include="Library\HDLLinPhoneSDK.swiftmodule"> <Kind>Framework</Kind> <SmartLink>False</SmartLink> </NativeReference> </ItemGroup> <ItemGroup> <BundleResource Include="Resources\ic_esvideo_on_answer.png" /> <BundleResource Include="Resources\ic_esvideo_on_back.png" /> <BundleResource Include="Resources\ic_esvideo_on_hangup.png" /> <BundleResource Include="Resources\ic_esvideo_on_takephoto_select.png" /> <BundleResource Include="Resources\ic_esvideo_on_takephoto_unselect.png" /> <BundleResource Include="Resources\ic_esvideo_on_unlock_select.png" /> <BundleResource Include="Resources\ic_esvideo_on_unlock_unselect.png" /> </ItemGroup> <Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.ObjCBinding.CSharp.targets" /> </Project> Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK.sln
New file @@ -0,0 +1,25 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.810.6 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared.IOS.HDLLinphoneSDK", "Shared.IOS.HDLLinphoneSDK.csproj", "{9D978BB5-0B26-40BA-A7EC-C629B808D2BE}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {9D978BB5-0B26-40BA-A7EC-C629B808D2BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9D978BB5-0B26-40BA-A7EC-C629B808D2BE}.Debug|Any CPU.Build.0 = Debug|Any CPU {9D978BB5-0B26-40BA-A7EC-C629B808D2BE}.Release|Any CPU.ActiveCfg = Release|Any CPU {9D978BB5-0B26-40BA-A7EC-C629B808D2BE}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {25350671-2BBF-4405-BED6-D69DEB6D29CD} EndGlobalSection EndGlobal