diff --git a/.DS_Store b/.DS_Store index c160acb..7c5d0a6 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/IndoorKit.framework/IndoorKit b/IndoorKit.framework/IndoorKit index 068aae9..b14a031 100755 Binary files a/IndoorKit.framework/IndoorKit and b/IndoorKit.framework/IndoorKit differ diff --git a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo index df379fb..052323d 100644 Binary files a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo and b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/Project/arm64.swiftsourceinfo b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/Project/arm64.swiftsourceinfo index df379fb..052323d 100644 Binary files a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/Project/arm64.swiftsourceinfo and b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/Project/arm64.swiftsourceinfo differ diff --git a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftinterface b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftinterface index 84f4e32..f4f5910 100644 --- a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftinterface +++ b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftinterface @@ -14,7 +14,9 @@ public protocol IndoorLocationDelegate : AnyObject { func onLocationChanged(location: CoreLocation.CLLocation, floor: Swift.Int) func onHeadingChanged(heading: Swift.Double) func onOrientationChanged(orientation: IndoorKit.PhoneOrientation) + func onClusterChanged(cluster: Swift.Int) func onLocationNotFound() + func onInitMapDone(walls: [[IndoorKit.Wall]], clusters: [[IndoorKit.Cluster]], stairs: [[IndoorKit.Stair]], elevator: [IndoorKit.Wall]) } public class IndoorLocationService { weak public var delegate: IndoorKit.IndoorLocationDelegate? @@ -27,6 +29,12 @@ public class IndoorLocationService { public func backToHand() @objc deinit } +public class Stair { + public init(path: [CoreLocation.CLLocationCoordinate2D]) + public func getCoordinatePath() -> [CoreLocation.CLLocationCoordinate2D] + public func getPointPath() -> [CoreGraphics.CGPoint] + @objc deinit +} public enum IndoorZone { case P27 case FVH @@ -38,6 +46,12 @@ public enum IndoorZone { get } } +public class Wall { + public init(a: CoreLocation.CLLocationCoordinate2D, b: CoreLocation.CLLocationCoordinate2D) + public func getCoordinatePath() -> [CoreLocation.CLLocationCoordinate2D] + public func getPointPath() -> [CoreGraphics.CGPoint] + @objc deinit +} public enum PhoneOrientation : Swift.String { case HAND case POCKET @@ -47,3 +61,11 @@ public enum PhoneOrientation : Swift.String { get } } +public class Cluster { + public init(path: [CoreLocation.CLLocationCoordinate2D], index: Swift.Int, color: UIKit.UIColor) + public func getCoordinatePath() -> [CoreLocation.CLLocationCoordinate2D] + public func getPointPath() -> [CoreGraphics.CGPoint] + public func getIndex() -> Swift.Int + public func getColor() -> UIKit.UIColor + @objc deinit +} diff --git a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftmodule b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftmodule index e5c54f0..35ea4d3 100644 Binary files a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftmodule and b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftmodule differ diff --git a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64.swiftinterface b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64.swiftinterface index 84f4e32..f4f5910 100644 --- a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64.swiftinterface +++ b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64.swiftinterface @@ -14,7 +14,9 @@ public protocol IndoorLocationDelegate : AnyObject { func onLocationChanged(location: CoreLocation.CLLocation, floor: Swift.Int) func onHeadingChanged(heading: Swift.Double) func onOrientationChanged(orientation: IndoorKit.PhoneOrientation) + func onClusterChanged(cluster: Swift.Int) func onLocationNotFound() + func onInitMapDone(walls: [[IndoorKit.Wall]], clusters: [[IndoorKit.Cluster]], stairs: [[IndoorKit.Stair]], elevator: [IndoorKit.Wall]) } public class IndoorLocationService { weak public var delegate: IndoorKit.IndoorLocationDelegate? @@ -27,6 +29,12 @@ public class IndoorLocationService { public func backToHand() @objc deinit } +public class Stair { + public init(path: [CoreLocation.CLLocationCoordinate2D]) + public func getCoordinatePath() -> [CoreLocation.CLLocationCoordinate2D] + public func getPointPath() -> [CoreGraphics.CGPoint] + @objc deinit +} public enum IndoorZone { case P27 case FVH @@ -38,6 +46,12 @@ public enum IndoorZone { get } } +public class Wall { + public init(a: CoreLocation.CLLocationCoordinate2D, b: CoreLocation.CLLocationCoordinate2D) + public func getCoordinatePath() -> [CoreLocation.CLLocationCoordinate2D] + public func getPointPath() -> [CoreGraphics.CGPoint] + @objc deinit +} public enum PhoneOrientation : Swift.String { case HAND case POCKET @@ -47,3 +61,11 @@ public enum PhoneOrientation : Swift.String { get } } +public class Cluster { + public init(path: [CoreLocation.CLLocationCoordinate2D], index: Swift.Int, color: UIKit.UIColor) + public func getCoordinatePath() -> [CoreLocation.CLLocationCoordinate2D] + public func getPointPath() -> [CoreGraphics.CGPoint] + public func getIndex() -> Swift.Int + public func getColor() -> UIKit.UIColor + @objc deinit +} diff --git a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64.swiftmodule b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64.swiftmodule index e5c54f0..35ea4d3 100644 Binary files a/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64.swiftmodule and b/IndoorKit.framework/Modules/IndoorKit.swiftmodule/arm64.swiftmodule differ diff --git a/IndoorKit.framework/_CodeSignature/CodeResources b/IndoorKit.framework/_CodeSignature/CodeResources index 451b863..2a47240 100644 --- a/IndoorKit.framework/_CodeSignature/CodeResources +++ b/IndoorKit.framework/_CodeSignature/CodeResources @@ -34,11 +34,11 @@ Modules/IndoorKit.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo - luelFwAFrTkCUW9dJfCCVeDZS9w= + +TkyDGE22suN0OY9MPdiYVflVl4= Modules/IndoorKit.swiftmodule/Project/arm64.swiftsourceinfo - luelFwAFrTkCUW9dJfCCVeDZS9w= + +TkyDGE22suN0OY9MPdiYVflVl4= Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftdoc @@ -46,11 +46,11 @@ Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftinterface - MhFavfAQu1lHDIxAHff1vsLDFmQ= + rxg4z8PRPb+3EvsMnFkxUK58xSE= Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftmodule - IBaZEJ86Ey5pETX4Sz04Q2BXVGA= + PXh4qsi4qtgPat4o2nWUmR94wQ4= Modules/IndoorKit.swiftmodule/arm64.swiftdoc @@ -58,11 +58,11 @@ Modules/IndoorKit.swiftmodule/arm64.swiftinterface - MhFavfAQu1lHDIxAHff1vsLDFmQ= + rxg4z8PRPb+3EvsMnFkxUK58xSE= Modules/IndoorKit.swiftmodule/arm64.swiftmodule - IBaZEJ86Ey5pETX4Sz04Q2BXVGA= + PXh4qsi4qtgPat4o2nWUmR94wQ4= Modules/module.modulemap @@ -141,22 +141,22 @@ hash - luelFwAFrTkCUW9dJfCCVeDZS9w= + +TkyDGE22suN0OY9MPdiYVflVl4= hash2 - AmDjk815i8jK79MKZq28fuq6iQzao4Xijj1Pg/yzVmQ= + J9iGMRPKJVTJus0gS5J3z0XvXdkf1TEDkWIr+EIiWWU= Modules/IndoorKit.swiftmodule/Project/arm64.swiftsourceinfo hash - luelFwAFrTkCUW9dJfCCVeDZS9w= + +TkyDGE22suN0OY9MPdiYVflVl4= hash2 - AmDjk815i8jK79MKZq28fuq6iQzao4Xijj1Pg/yzVmQ= + J9iGMRPKJVTJus0gS5J3z0XvXdkf1TEDkWIr+EIiWWU= Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftdoc @@ -174,22 +174,22 @@ hash - MhFavfAQu1lHDIxAHff1vsLDFmQ= + rxg4z8PRPb+3EvsMnFkxUK58xSE= hash2 - VEKT24zE6hEnrb7VQc9Ob4l6yEmbq7qddd6drmTVpBY= + cGVgHdBnZsjFD8TUYzcZdkEmF/UWTXTibnqLsSVaKpg= Modules/IndoorKit.swiftmodule/arm64-apple-ios.swiftmodule hash - IBaZEJ86Ey5pETX4Sz04Q2BXVGA= + PXh4qsi4qtgPat4o2nWUmR94wQ4= hash2 - VfEU3dC4RVj6OEMuV7M/JoAVjz2k6F2f1CGv8OodVHM= + jZQ1PF50xd3N2+1AE1igQ5lCgyJ9CE9oeqivqI83LIc= Modules/IndoorKit.swiftmodule/arm64.swiftdoc @@ -207,22 +207,22 @@ hash - MhFavfAQu1lHDIxAHff1vsLDFmQ= + rxg4z8PRPb+3EvsMnFkxUK58xSE= hash2 - VEKT24zE6hEnrb7VQc9Ob4l6yEmbq7qddd6drmTVpBY= + cGVgHdBnZsjFD8TUYzcZdkEmF/UWTXTibnqLsSVaKpg= Modules/IndoorKit.swiftmodule/arm64.swiftmodule hash - IBaZEJ86Ey5pETX4Sz04Q2BXVGA= + PXh4qsi4qtgPat4o2nWUmR94wQ4= hash2 - VfEU3dC4RVj6OEMuV7M/JoAVjz2k6F2f1CGv8OodVHM= + jZQ1PF50xd3N2+1AE1igQ5lCgyJ9CE9oeqivqI83LIc= Modules/module.modulemap