Skip to content

Commit

Permalink
Updated 1.5.66 SDK version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Predrag Bogdanic committed Apr 14, 2023
1 parent d573d3a commit 335cd66
Show file tree
Hide file tree
Showing 25 changed files with 269 additions and 155 deletions.
14 changes: 7 additions & 7 deletions Framework/DataCompression.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>DataCompression.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>DataCompression.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
14 changes: 7 additions & 7 deletions Framework/Socket.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>Socket.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Socket.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions Framework/SpeedcheckerReportSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>SpeedcheckerReportSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>SpeedcheckerReportSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions Framework/SpeedcheckerSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>SpeedcheckerSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>SpeedcheckerSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ SWIFT_CLASS_NAMED("BackgroundTest")
@interface BackgroundTest : NSObject
- (nonnull instancetype)initWithClientID:(NSInteger)clientID url:(NSString * _Nullable)url testsEnabled:(BOOL)testsEnabled OBJC_DESIGNATED_INITIALIZER;
- (void)setBackgroundNetworkTestingWithTestsEnabled:(BOOL)testsEnabled;
- (BOOL)getBackgroundNetworkTestingEnabled SWIFT_WARN_UNUSED_RESULT;
- (void)prepareLocationManagerWithLocationManager:(CLLocationManager * _Nullable)locationManager;
- (void)applicationDidEnterBackgroundWithLocationManager:(CLLocationManager * _Nullable)locationManager;
- (void)applicationDidBecomeActiveWithLocationManager:(CLLocationManager * _Nullable)locationManager;
Expand All @@ -231,30 +232,30 @@ SWIFT_CLASS_NAMED("BackgroundTest")
@end



@interface BackgroundTest (SWIFT_EXTENSION(SpeedcheckerSDK))
- (void)loadConfigWithLaunchOptions:(NSDictionary<UIApplicationLaunchOptionsKey, id> * _Nullable)launchOptions completion:(void (^ _Nonnull)(BOOL))completion;
@end


@class CLLocation;

@interface BackgroundTest (SWIFT_EXTENSION(SpeedcheckerSDK))
- (void)didChangeAuthorizationWithManager:(CLLocationManager * _Nonnull)manager status:(CLAuthorizationStatus)status;
- (void)didUpdateLocationsWithManager:(CLLocationManager * _Nonnull)manager locations:(NSArray<CLLocation *> * _Nonnull)locations;
@end

@class UIViewController;
@class UIView;

SWIFT_AVAILABILITY(ios,introduced=13)
@interface BackgroundTest (SWIFT_EXTENSION(SpeedcheckerSDK))
+ (NSArray<NSString *> * _Nonnull)getLogs SWIFT_WARN_UNUSED_RESULT;
+ (void)shareLogsFromViewController:(UIViewController * _Nonnull)viewController presentationSourceView:(UIView * _Nonnull)sourceView;
- (void)registerBGTask:(CLLocationManager * _Nullable)locationManager;
@end

@class UIViewController;
@class UIView;

SWIFT_AVAILABILITY(ios,introduced=13)
@interface BackgroundTest (SWIFT_EXTENSION(SpeedcheckerSDK))
- (void)registerBGTask:(CLLocationManager * _Nullable)locationManager;
+ (NSArray<NSString *> * _Nonnull)getLogs SWIFT_WARN_UNUSED_RESULT;
+ (void)shareLogsFromViewController:(UIViewController * _Nonnull)viewController presentationSourceView:(UIView * _Nonnull)sourceView;
@end


Expand Down Expand Up @@ -317,7 +318,7 @@ SWIFT_CLASS_NAMED("InternetSpeedTest")
/// The function starts a new speed test process.
- (void)start:(SWIFT_NOESCAPE void (^ _Nonnull)(enum SpeedTestError))completion;
/// The function starts a free test if geolocation is enabled
- (void)startTest:(SWIFT_NOESCAPE void (^ _Nonnull)(enum SpeedTestError))completion;
- (void)startTest:(void (^ _Nonnull)(enum SpeedTestError))completion;
/// The function finishes the current speed test process.
- (void)forceFinish:(SWIFT_NOESCAPE void (^ _Nonnull)(enum SpeedTestError))completion;
- (SpeedTestNetwork * _Nonnull)currentNetwork SWIFT_WARN_UNUSED_RESULT;
Expand All @@ -339,6 +340,24 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nonnull cust
@end



SWIFT_CLASS("_TtC15SpeedcheckerSDK16SCLocationHelper")
@interface SCLocationHelper : NSObject
- (BOOL)isPermisionStatusDetermined SWIFT_WARN_UNUSED_RESULT;
/// Check if location services are enabled
- (BOOL)locationServicesEnabled SWIFT_WARN_UNUSED_RESULT;
/// Check if location services are enabled, use background thread so UI is not blocked.
- (void)locationServicesEnabled:(void (^ _Nonnull)(BOOL))completion;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end



@interface SCLocationHelper (SWIFT_EXTENSION(SpeedcheckerSDK)) <CLLocationManagerDelegate>
- (void)locationManager:(CLLocationManager * _Nonnull)manager didUpdateLocations:(NSArray<CLLocation *> * _Nonnull)locations;
- (void)locationManager:(CLLocationManager * _Nonnull)manager didFailWithError:(NSError * _Nonnull)error;
@end

/// The set of possible errors occur in the <code>InternetSpeedTest</code> object.
typedef SWIFT_ENUM_NAMED(NSInteger, SpeedTestError, "SpeedTestError", open) {
SpeedTestErrorOk = 0,
Expand Down Expand Up @@ -392,6 +411,10 @@ SWIFT_CLASS_NAMED("SpeedTestResult")
@property (nonatomic, readonly, copy) NSString * _Nullable ispName;
@property (nonatomic, readonly, copy) NSDate * _Nullable date;
@property (nonatomic, copy) NSString * _Nullable userCityName;
/// Data transferred during download. In MB (megabytes).
@property (nonatomic, readonly) double downloadTransferredMb;
/// Data transferred during upload. In MB (megabytes).
@property (nonatomic, readonly) double uploadTransferredMb;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ public struct SCNetwork {
public func getNetworkBSSID() -> Swift.String?
public func getActiveConnection() -> Swift.String
}
public struct SCConfigFileSettingsServers : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
@available(iOS 13, *)
extension SpeedcheckerSDK.BackgroundTest {
@objc dynamic public func registerBGTask(_ locationManager: CoreLocation.CLLocationManager?)
Expand All @@ -120,6 +124,10 @@ extension Swift.String {
get
}
}
public struct SCConfigFileSettingsResults : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public typealias Observer = ((_ response: SpeedcheckerSDK.PingResponse) -> Swift.Void)
public typealias FinishedCallback = ((_ result: SpeedcheckerSDK.PingResult) -> Swift.Void)
public protocol PingDelegate : AnyObject {
Expand Down Expand Up @@ -280,9 +288,10 @@ public enum ConnectionIssue : Swift.Int {
@objc open func start(_ servers: [SpeedcheckerSDK.SpeedTestServer], completion: (SpeedcheckerSDK.SpeedTestError) -> Swift.Void)
open func start(_ servers: [SpeedcheckerSDK.SCServer], completion: (SpeedcheckerSDK.SpeedTestError) -> Swift.Void)
@objc open func start(_ completion: (SpeedcheckerSDK.SpeedTestError) -> Swift.Void)
@objc open func startTest(_ completion: (SpeedcheckerSDK.SpeedTestError) -> Swift.Void)
@objc open func startTest(_ completion: @escaping (SpeedcheckerSDK.SpeedTestError) -> Swift.Void)
open func startWithOptions(_ options: SpeedcheckerSDK.SpeedTestOptions, _ completion: (SpeedcheckerSDK.SpeedTestError?) -> Swift.Void)
open func startWithOptions(_ options: SpeedcheckerSDK.SpeedTestOptions, servers: [SpeedcheckerSDK.SpeedTestServer], _ completion: (SpeedcheckerSDK.SpeedTestError?) -> Swift.Void)
public func startWithOptions(_ options: SpeedcheckerSDK.SpeedTestOptions, servers: [SpeedcheckerSDK.SCServer], _ completion: (SpeedcheckerSDK.SpeedTestError?) -> Swift.Void)
@objc open func forceFinish(_ completion: (SpeedcheckerSDK.SpeedTestError) -> Swift.Void)
@objc open func currentNetwork() -> SpeedcheckerSDK.SpeedTestNetwork
public static func clearTempDirectory()
Expand Down Expand Up @@ -320,9 +329,24 @@ public struct SCClient {
@_hasMissingDesignatedInitializers public class SCDataController {
@objc deinit
}
@_inheritsConvenienceInitializers @objc final public class SCLocationHelper : ObjectiveC.NSObject {
@objc final public func isPermisionStatusDetermined() -> Swift.Bool
@objc final public func locationServicesEnabled() -> Swift.Bool
@objc final public func locationServicesEnabled(_ completion: @escaping (Swift.Bool) -> Swift.Void)
@objc override dynamic public init()
@objc deinit
}
extension SpeedcheckerSDK.SCLocationHelper : CoreLocation.CLLocationManagerDelegate {
@objc final public func locationManager(_ manager: CoreLocation.CLLocationManager, didUpdateLocations locations: [CoreLocation.CLLocation])
@objc final public func locationManager(_ manager: CoreLocation.CLLocationManager, didFailWithError error: Swift.Error)
}
@objc @_hasMissingDesignatedInitializers public class HTTPPing : ObjectiveC.NSObject {
@objc deinit
}
public struct SCConfigFile : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public enum SCLatencySpeedType {
case http
case icmp
Expand All @@ -341,6 +365,10 @@ extension SpeedcheckerSDK.SCLatencySpeed {
}
}
public func == (lhs: SpeedcheckerSDK.SCLatencySpeed, rhs: SpeedcheckerSDK.SCLatencySpeed) -> Swift.Bool
public struct SCConfigCommand : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
extension SpeedcheckerSDK.BackgroundTest {
@objc public static func getLogs() -> [Swift.String]
@objc public static func shareLogs(fromViewController viewController: UIKit.UIViewController, presentationSourceView sourceView: UIKit.UIView)
Expand All @@ -362,34 +390,6 @@ public struct SCLocation {
}
public init(latitude: Swift.Double?, longitude: Swift.Double?, accuracyInMeters: Swift.Int?, ipAddress: Swift.String?, countryCode: Swift.String?, cityName: Swift.String?)
}
public struct SCConfigFile : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public struct SCConfigFileSettings : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public struct SCConfigFileSettingsServers : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public struct SCConfigFileSettingsResults : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public struct SCConfigFileJob : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public struct SCConfigFileJobCommand : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public struct SCConfigCommand : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
extension SpeedcheckerSDK.BackgroundTest {
@objc dynamic public func loadConfig(launchOptions: [UIKit.UIApplication.LaunchOptionsKey : Any]?, completion: @escaping (Swift.Bool) -> Swift.Void)
}
Expand Down Expand Up @@ -432,6 +432,10 @@ public func == (lhs: SpeedcheckerSDK.SCServer, rhs: SpeedcheckerSDK.SCServer) ->
public static func getOoklaServers(_ completion: @escaping ([SpeedcheckerSDK.SCServer]?, SpeedcheckerSDK.SCError?) -> Swift.Void)
@objc deinit
}
public struct SCConfigFileJob : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public class SCServerSelecter {
public init(_ servers: [SpeedcheckerSDK.SCServer], timeout: Foundation.TimeInterval = 1, preferIP6: Swift.Bool, delegate: SpeedcheckerSDK.SCServerSelecterDelegate?)
public func start()
Expand Down Expand Up @@ -526,7 +530,9 @@ public enum SCTestStatus {
@objc final public let ispName: Swift.String?
@objc final public let date: Foundation.Date?
@objc public var userCityName: Swift.String?
public static func create(withPlain date: Foundation.Date, latencyType: Swift.String?, latencyInMs: Swift.Int, jitter: Swift.Double, downloadInBps: Swift.Double, uploadInBps: Swift.Double, timeToFirstByteMs: Swift.Int, ipAddress: Swift.String?, ispName: Swift.String?, networkType: Swift.String?, serverID: Swift.Int, serverDomain: Swift.String?, serverCityName: Swift.String?, serverCountryCode: Swift.String?) -> SpeedcheckerSDK.SpeedTestResult
@objc final public let downloadTransferredMb: Swift.Double
@objc final public let uploadTransferredMb: Swift.Double
public static func create(withPlain date: Foundation.Date, latencyType: Swift.String?, latencyInMs: Swift.Int, jitter: Swift.Double, downloadInBps: Swift.Double, uploadInBps: Swift.Double, timeToFirstByteMs: Swift.Int, downloadTransferredMb: Swift.Double, uploadTransferredMb: Swift.Double, ipAddress: Swift.String?, ispName: Swift.String?, networkType: Swift.String?, serverID: Swift.Int, serverDomain: Swift.String?, serverCityName: Swift.String?, serverCountryCode: Swift.String?) -> SpeedcheckerSDK.SpeedTestResult
@objc deinit
}
extension SpeedcheckerSDK.SpeedTestResult {
Expand Down Expand Up @@ -588,6 +594,10 @@ extension SpeedcheckerSDK.SpeedTestResult {
}
@objc deinit
}
public struct SCConfigFileJobCommand : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public struct SSDPService : Swift.Equatable {
public let cacheControl: Foundation.Date
public let location: Foundation.URL
Expand Down Expand Up @@ -658,10 +668,15 @@ public struct UPNPAction {
}
}
}
public struct SCConfigFileSettings : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
@objc(BackgroundTest) public class BackgroundTest : ObjectiveC.NSObject {
@objc public init(clientID: Swift.Int, url: Swift.String? = nil, testsEnabled: Swift.Bool = true)
@objc deinit
@objc public func setBackgroundNetworkTesting(testsEnabled: Swift.Bool)
@objc public func getBackgroundNetworkTestingEnabled() -> Swift.Bool
@objc public func prepareLocationManager(locationManager: CoreLocation.CLLocationManager?)
@objc public func applicationDidEnterBackground(locationManager: CoreLocation.CLLocationManager?)
@objc public func applicationDidBecomeActive(locationManager: CoreLocation.CLLocationManager?)
Expand Down
Binary file not shown.
Loading

0 comments on commit 335cd66

Please sign in to comment.