sonarfit-react-native 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/SonarFitConnectivity.xcframework/Info.plist +6 -6
- package/ios/SonarFitConnectivity.xcframework/ios-arm64/SonarFitConnectivity.framework/Info.plist +0 -0
- package/ios/SonarFitConnectivity.xcframework/ios-arm64/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios.abi.json +434 -7
- package/ios/SonarFitConnectivity.xcframework/ios-arm64/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios.package.swiftinterface +112 -106
- package/ios/SonarFitConnectivity.xcframework/ios-arm64/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios.private.swiftinterface +112 -106
- package/ios/SonarFitConnectivity.xcframework/ios-arm64/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/SonarFitConnectivity.xcframework/ios-arm64/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios.swiftinterface +112 -106
- package/ios/SonarFitConnectivity.xcframework/ios-arm64/SonarFitConnectivity.framework/SonarFitConnectivity +0 -0
- package/ios/SonarFitConnectivity.xcframework/ios-arm64/SonarFitConnectivity.framework/_CodeSignature/CodeResources +13 -13
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Info.plist +0 -0
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios-simulator.abi.json +434 -7
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +112 -106
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +112 -106
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-ios-simulator.swiftinterface +112 -106
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-ios-simulator.abi.json +434 -7
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +112 -106
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +112 -106
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +112 -106
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/SonarFitConnectivity +0 -0
- package/ios/SonarFitConnectivity.xcframework/ios-arm64_x86_64-simulator/SonarFitConnectivity.framework/_CodeSignature/CodeResources +25 -25
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Info.plist +0 -0
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos.abi.json +665 -39
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos.package.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos.private.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos.swiftdoc +0 -0
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64_32-apple-watchos.abi.json +665 -39
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64_32-apple-watchos.package.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64_32-apple-watchos.private.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64_32-apple-watchos.swiftdoc +0 -0
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64_32-apple-watchos.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/SonarFitConnectivity +0 -0
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_arm64_32/SonarFitConnectivity.framework/_CodeSignature/CodeResources +37 -37
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Info.plist +0 -0
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos-simulator.abi.json +665 -39
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos-simulator.package.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos-simulator.private.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos-simulator.swiftdoc +0 -0
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/arm64-apple-watchos-simulator.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-watchos-simulator.abi.json +665 -39
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-watchos-simulator.package.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-watchos-simulator.private.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-watchos-simulator.swiftdoc +0 -0
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/Modules/SonarFitConnectivity.swiftmodule/x86_64-apple-watchos-simulator.swiftinterface +166 -165
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/SonarFitConnectivity +0 -0
- package/ios/SonarFitConnectivity.xcframework/watchos-arm64_x86_64-simulator/SonarFitConnectivity.framework/_CodeSignature/CodeResources +25 -25
- package/ios/SonarFitCore.xcframework/Info.plist +9 -9
- package/ios/SonarFitCore.xcframework/ios-arm64/SonarFitCore.framework/Info.plist +0 -0
- package/ios/SonarFitCore.xcframework/ios-arm64/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios.abi.json +24212 -18217
- package/ios/SonarFitCore.xcframework/ios-arm64/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios.package.swiftinterface +713 -599
- package/ios/SonarFitCore.xcframework/ios-arm64/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios.private.swiftinterface +627 -568
- package/ios/SonarFitCore.xcframework/ios-arm64/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/SonarFitCore.xcframework/ios-arm64/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios.swiftinterface +627 -568
- package/ios/SonarFitCore.xcframework/ios-arm64/SonarFitCore.framework/SonarFitCore +0 -0
- package/ios/SonarFitCore.xcframework/ios-arm64/SonarFitCore.framework/_CodeSignature/CodeResources +13 -13
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Info.plist +0 -0
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios-simulator.abi.json +24212 -18217
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +713 -599
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +627 -568
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +627 -568
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-ios-simulator.abi.json +24212 -18217
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +713 -599
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +627 -568
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +627 -568
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/SonarFitCore +0 -0
- package/ios/SonarFitCore.xcframework/ios-arm64_x86_64-simulator/SonarFitCore.framework/_CodeSignature/CodeResources +25 -25
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Info.plist +0 -0
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos.abi.json +15679 -9740
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos.package.swiftinterface +634 -520
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos.private.swiftinterface +563 -504
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos.swiftdoc +0 -0
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos.swiftinterface +563 -504
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64_32-apple-watchos.abi.json +15679 -9740
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64_32-apple-watchos.package.swiftinterface +634 -520
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64_32-apple-watchos.private.swiftinterface +563 -504
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64_32-apple-watchos.swiftdoc +0 -0
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64_32-apple-watchos.swiftinterface +563 -504
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/SonarFitCore +0 -0
- package/ios/SonarFitCore.xcframework/watchos-arm64_arm64_32/SonarFitCore.framework/_CodeSignature/CodeResources +37 -37
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Info.plist +0 -0
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos-simulator.abi.json +15679 -9740
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos-simulator.package.swiftinterface +634 -520
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos-simulator.private.swiftinterface +563 -504
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos-simulator.swiftdoc +0 -0
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/arm64-apple-watchos-simulator.swiftinterface +563 -504
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-watchos-simulator.abi.json +15679 -9740
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-watchos-simulator.package.swiftinterface +634 -520
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-watchos-simulator.private.swiftinterface +563 -504
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-watchos-simulator.swiftdoc +0 -0
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/Modules/SonarFitCore.swiftmodule/x86_64-apple-watchos-simulator.swiftinterface +563 -504
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/SonarFitCore +0 -0
- package/ios/SonarFitCore.xcframework/watchos-arm64_x86_64-simulator/SonarFitCore.framework/_CodeSignature/CodeResources +25 -25
- package/ios/SonarFitKit.xcframework/Info.plist +4 -4
- package/ios/SonarFitKit.xcframework/ios-arm64/SonarFitKit.framework/Info.plist +0 -0
- package/ios/SonarFitKit.xcframework/ios-arm64/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios.abi.json +5 -5
- package/ios/SonarFitKit.xcframework/ios-arm64/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios.package.swiftinterface +51 -51
- package/ios/SonarFitKit.xcframework/ios-arm64/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios.private.swiftinterface +51 -51
- package/ios/SonarFitKit.xcframework/ios-arm64/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/SonarFitKit.xcframework/ios-arm64/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios.swiftinterface +51 -51
- package/ios/SonarFitKit.xcframework/ios-arm64/SonarFitKit.framework/SonarFitKit +0 -0
- package/ios/SonarFitKit.xcframework/ios-arm64/SonarFitKit.framework/_CodeSignature/CodeResources +13 -13
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Info.plist +0 -0
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios-simulator.abi.json +5 -5
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +51 -51
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +51 -51
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +51 -51
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +5 -5
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +51 -51
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +51 -51
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +51 -51
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/SonarFitKit +0 -0
- package/ios/SonarFitKit.xcframework/ios-arm64_x86_64-simulator/SonarFitKit.framework/_CodeSignature/CodeResources +25 -25
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Info.plist +0 -0
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos.abi.json +61 -7
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos.package.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos.private.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos.swiftdoc +0 -0
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64_32-apple-watchos.abi.json +61 -7
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64_32-apple-watchos.package.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64_32-apple-watchos.private.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64_32-apple-watchos.swiftdoc +0 -0
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64_32-apple-watchos.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/SonarFitKit +0 -0
- package/ios/SonarFitKit.xcframework/watchos-arm64_arm64_32/SonarFitKit.framework/_CodeSignature/CodeResources +37 -37
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Info.plist +0 -0
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos-simulator.abi.json +61 -7
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos-simulator.package.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos-simulator.private.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos-simulator.swiftdoc +0 -0
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/arm64-apple-watchos-simulator.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-watchos-simulator.abi.json +61 -7
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-watchos-simulator.package.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-watchos-simulator.private.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-watchos-simulator.swiftdoc +0 -0
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/Modules/SonarFitKit.swiftmodule/x86_64-apple-watchos-simulator.swiftinterface +47 -47
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/SonarFitKit +0 -0
- package/ios/SonarFitKit.xcframework/watchos-arm64_x86_64-simulator/SonarFitKit.framework/_CodeSignature/CodeResources +25 -25
- package/ios/SonarFitUI.xcframework/Info.plist +5 -5
- package/ios/SonarFitUI.xcframework/ios-arm64/SonarFitUI.framework/Info.plist +0 -0
- package/ios/SonarFitUI.xcframework/ios-arm64/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/arm64-apple-ios.package.swiftinterface +43 -43
- package/ios/SonarFitUI.xcframework/ios-arm64/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/arm64-apple-ios.private.swiftinterface +43 -43
- package/ios/SonarFitUI.xcframework/ios-arm64/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/SonarFitUI.xcframework/ios-arm64/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/arm64-apple-ios.swiftinterface +43 -43
- package/ios/SonarFitUI.xcframework/ios-arm64/SonarFitUI.framework/SonarFitUI +0 -0
- package/ios/SonarFitUI.xcframework/ios-arm64/SonarFitUI.framework/_CodeSignature/CodeResources +11 -11
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/Info.plist +0 -0
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +43 -43
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +43 -43
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +43 -43
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +43 -43
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +43 -43
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/Modules/SonarFitUI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +43 -43
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/SonarFitUI +0 -0
- package/ios/SonarFitUI.xcframework/ios-arm64_x86_64-simulator/SonarFitUI.framework/_CodeSignature/CodeResources +21 -21
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios17.0-simulator -enable-objc-interop -enable-library-evolution -
|
|
4
|
-
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios17.0-simulator -enable-objc-interop -enable-library-evolution -language-mode 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name SonarFitCore -package-name SonarFitSDK
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.4
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Combine
|
|
7
7
|
import Compression
|
|
@@ -21,873 +21,925 @@ import _Concurrency
|
|
|
21
21
|
import _StringProcessing
|
|
22
22
|
import _SwiftConcurrencyShims
|
|
23
23
|
@_hasMissingDesignatedInitializers public class SonarFitAnalytics {
|
|
24
|
-
public static let shared: SonarFitCore
|
|
25
|
-
public var isInitialized: Swift
|
|
24
|
+
public static let shared: SonarFitCore::SonarFitAnalytics
|
|
25
|
+
public var isInitialized: Swift::Bool {
|
|
26
26
|
get
|
|
27
27
|
}
|
|
28
|
-
public func initialize(apiKey: Swift
|
|
28
|
+
public func initialize(apiKey: Swift::String, completion: @escaping (Swift::Bool, (any Swift::Error)?) -> Swift::Void)
|
|
29
29
|
@objc deinit
|
|
30
30
|
}
|
|
31
|
-
public enum SonarFitConfigError : Foundation
|
|
31
|
+
public enum SonarFitConfigError : Foundation::LocalizedError {
|
|
32
32
|
case invalidSets
|
|
33
33
|
case invalidReps
|
|
34
34
|
case invalidRestTime
|
|
35
|
-
public var errorDescription: Swift
|
|
35
|
+
public var errorDescription: Swift::String? {
|
|
36
36
|
get
|
|
37
37
|
}
|
|
38
|
-
public static func == (a: SonarFitCore
|
|
39
|
-
public func hash(into hasher: inout Swift
|
|
40
|
-
public var hashValue: Swift
|
|
38
|
+
public static func == (a: SonarFitCore::SonarFitConfigError, b: SonarFitCore::SonarFitConfigError) -> Swift::Bool
|
|
39
|
+
public func hash(into hasher: inout Swift::Hasher)
|
|
40
|
+
public var hashValue: Swift::Int {
|
|
41
41
|
get
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
public enum SDKError : Foundation
|
|
44
|
+
public enum SDKError : Foundation::LocalizedError {
|
|
45
45
|
case invalidAPIKey
|
|
46
46
|
case notInitialized
|
|
47
47
|
case quotaExceeded
|
|
48
|
-
public var errorDescription: Swift
|
|
48
|
+
public var errorDescription: Swift::String? {
|
|
49
49
|
get
|
|
50
50
|
}
|
|
51
|
-
public var localizedDescription: Swift
|
|
51
|
+
public var localizedDescription: Swift::String {
|
|
52
52
|
get
|
|
53
53
|
}
|
|
54
|
-
public static func == (a: SonarFitCore
|
|
55
|
-
public func hash(into hasher: inout Swift
|
|
56
|
-
public var hashValue: Swift
|
|
54
|
+
public static func == (a: SonarFitCore::SDKError, b: SonarFitCore::SDKError) -> Swift::Bool
|
|
55
|
+
public func hash(into hasher: inout Swift::Hasher)
|
|
56
|
+
public var hashValue: Swift::Int {
|
|
57
57
|
get
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
final public class RawSetRecorder {
|
|
61
|
-
public enum Schema : Swift
|
|
61
|
+
public enum Schema : Swift::Int {
|
|
62
62
|
case airpods13
|
|
63
63
|
case watch22
|
|
64
|
-
public var header: Swift
|
|
64
|
+
public var header: Swift::String {
|
|
65
65
|
get
|
|
66
66
|
}
|
|
67
|
-
public init?(rawValue: Swift
|
|
68
|
-
public typealias RawValue = Swift
|
|
69
|
-
public var rawValue: Swift
|
|
67
|
+
public init?(rawValue: Swift::Int)
|
|
68
|
+
public typealias RawValue = Swift::Int
|
|
69
|
+
public var rawValue: Swift::Int {
|
|
70
70
|
get
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
public struct Sample {
|
|
74
|
-
public let t: Foundation
|
|
75
|
-
public let ax: Swift
|
|
76
|
-
public let ay: Swift
|
|
77
|
-
public let az: Swift
|
|
78
|
-
public let rx: Swift
|
|
79
|
-
public let ry: Swift
|
|
80
|
-
public let rz: Swift
|
|
81
|
-
public let gx: Swift
|
|
82
|
-
public let gy: Swift
|
|
83
|
-
public let gz: Swift
|
|
84
|
-
public let pitch: Swift
|
|
85
|
-
public let roll: Swift
|
|
86
|
-
public let yaw: Swift
|
|
87
|
-
public let qw: Swift
|
|
88
|
-
public let qx: Swift
|
|
89
|
-
public let qy: Swift
|
|
90
|
-
public let qz: Swift
|
|
91
|
-
public let mx: Swift
|
|
92
|
-
public let my: Swift
|
|
93
|
-
public let mz: Swift
|
|
94
|
-
public let magAcc: Swift
|
|
95
|
-
public let heading: Swift
|
|
96
|
-
}
|
|
97
|
-
public init(schema: SonarFitCore
|
|
74
|
+
public let t: Foundation::TimeInterval
|
|
75
|
+
public let ax: Swift::Double
|
|
76
|
+
public let ay: Swift::Double
|
|
77
|
+
public let az: Swift::Double
|
|
78
|
+
public let rx: Swift::Double
|
|
79
|
+
public let ry: Swift::Double
|
|
80
|
+
public let rz: Swift::Double
|
|
81
|
+
public let gx: Swift::Double
|
|
82
|
+
public let gy: Swift::Double
|
|
83
|
+
public let gz: Swift::Double
|
|
84
|
+
public let pitch: Swift::Double
|
|
85
|
+
public let roll: Swift::Double
|
|
86
|
+
public let yaw: Swift::Double
|
|
87
|
+
public let qw: Swift::Double?
|
|
88
|
+
public let qx: Swift::Double?
|
|
89
|
+
public let qy: Swift::Double?
|
|
90
|
+
public let qz: Swift::Double?
|
|
91
|
+
public let mx: Swift::Double?
|
|
92
|
+
public let my: Swift::Double?
|
|
93
|
+
public let mz: Swift::Double?
|
|
94
|
+
public let magAcc: Swift::Int?
|
|
95
|
+
public let heading: Swift::Double?
|
|
96
|
+
}
|
|
97
|
+
public init(schema: SonarFitCore::RawSetRecorder.SonarFitCore::Schema)
|
|
98
98
|
final public func markActiveEnd()
|
|
99
|
-
final public var activeEndedAtTimestamp: Foundation
|
|
99
|
+
final public var activeEndedAtTimestamp: Foundation::TimeInterval? {
|
|
100
100
|
get
|
|
101
101
|
}
|
|
102
|
-
final public func samplesSnapshot() -> [SonarFitCore
|
|
103
|
-
final public func appendWatchSample(timestamp: Foundation
|
|
104
|
-
final public func snapshotAndReset() -> Swift
|
|
102
|
+
final public func samplesSnapshot() -> [SonarFitCore::RawSetRecorder.SonarFitCore::Sample]
|
|
103
|
+
final public func appendWatchSample(timestamp: Foundation::TimeInterval, accel: (Swift::Double, Swift::Double, Swift::Double), rot: (Swift::Double, Swift::Double, Swift::Double), gravity: (Swift::Double, Swift::Double, Swift::Double), attitude: (pitch: Swift::Double, roll: Swift::Double, yaw: Swift::Double), quaternion: (w: Swift::Double, x: Swift::Double, y: Swift::Double, z: Swift::Double), magnetic: (x: Swift::Double, y: Swift::Double, z: Swift::Double, accuracy: Swift::Int), heading: Swift::Double)
|
|
104
|
+
final public func snapshotAndReset() -> Swift::String?
|
|
105
105
|
@objc deinit
|
|
106
106
|
}
|
|
107
|
-
public enum RestVerdict : Swift
|
|
107
|
+
public enum RestVerdict : Swift::Equatable {
|
|
108
108
|
case quiet
|
|
109
|
-
case extra(Swift
|
|
109
|
+
case extra(Swift::Int)
|
|
110
110
|
case mixed
|
|
111
111
|
case none
|
|
112
|
-
public var token: Swift
|
|
112
|
+
public var token: Swift::String {
|
|
113
113
|
get
|
|
114
114
|
}
|
|
115
|
-
public static func == (a: SonarFitCore
|
|
115
|
+
public static func == (a: SonarFitCore::RestVerdict, b: SonarFitCore::RestVerdict) -> Swift::Bool
|
|
116
116
|
}
|
|
117
117
|
public struct WatchRestAnalyzer {
|
|
118
|
-
public static func analyze(samples: [SonarFitCore
|
|
118
|
+
public static func analyze(samples: [SonarFitCore::RawSetRecorder.SonarFitCore::Sample], activeEndedAt: Foundation::TimeInterval?, liveRepCount: Swift::Int) -> SonarFitCore::RestVerdict
|
|
119
119
|
}
|
|
120
120
|
final public class MotionProcessor {
|
|
121
|
-
weak final public var delegate: (any SonarFitCore
|
|
122
|
-
final public var isProcessing: Swift
|
|
121
|
+
weak final public var delegate: (any SonarFitCore::MotionProcessorDelegate)?
|
|
122
|
+
final public var isProcessing: Swift::Bool {
|
|
123
123
|
get
|
|
124
124
|
}
|
|
125
|
-
final public var deviceStatus: Swift
|
|
125
|
+
final public var deviceStatus: Swift::String {
|
|
126
126
|
get
|
|
127
127
|
}
|
|
128
|
-
public init(workoutType: SonarFitCore
|
|
128
|
+
public init(workoutType: SonarFitCore::WorkoutType, deviceType: SonarFitCore::DeviceType? = nil)
|
|
129
129
|
final public func startProcessing()
|
|
130
130
|
final public func stopProcessing()
|
|
131
131
|
@objc deinit
|
|
132
132
|
}
|
|
133
133
|
final public class WorkoutEngine {
|
|
134
|
-
weak final public var delegate: (any SonarFitCore
|
|
135
|
-
weak final public var deviceStatusDelegate: (any SonarFitCore
|
|
136
|
-
final public var session: SonarFitCore
|
|
134
|
+
weak final public var delegate: (any SonarFitCore::WorkoutEngineDelegate)?
|
|
135
|
+
weak final public var deviceStatusDelegate: (any SonarFitCore::DeviceStatusDelegate)?
|
|
136
|
+
final public var session: SonarFitCore::WorkoutSession {
|
|
137
137
|
get
|
|
138
138
|
}
|
|
139
|
-
final public var motionProcessor: SonarFitCore
|
|
139
|
+
final public var motionProcessor: SonarFitCore::EnhancedMotionProcessor {
|
|
140
140
|
get
|
|
141
141
|
}
|
|
142
|
-
final public var isHeadphonesConnected: Swift
|
|
142
|
+
final public var isHeadphonesConnected: Swift::Bool {
|
|
143
143
|
get
|
|
144
144
|
}
|
|
145
|
-
final public var isHeadphonesInEar: Swift
|
|
145
|
+
final public var isHeadphonesInEar: Swift::Bool {
|
|
146
146
|
get
|
|
147
147
|
}
|
|
148
|
-
final public var isWatchPaired: Swift
|
|
148
|
+
final public var isWatchPaired: Swift::Bool {
|
|
149
149
|
get
|
|
150
150
|
}
|
|
151
|
-
final public var isWatchAppInstalled: Swift
|
|
151
|
+
final public var isWatchAppInstalled: Swift::Bool {
|
|
152
152
|
get
|
|
153
153
|
}
|
|
154
|
-
final public var isWatchReachable: Swift
|
|
154
|
+
final public var isWatchReachable: Swift::Bool {
|
|
155
155
|
get
|
|
156
156
|
}
|
|
157
|
-
final public var restTimerState: SonarFitCore
|
|
157
|
+
final public var restTimerState: SonarFitCore::RestTimerState? {
|
|
158
158
|
get
|
|
159
159
|
}
|
|
160
|
-
public init(config: SonarFitCore
|
|
160
|
+
public init(config: SonarFitCore::WorkoutConfig)
|
|
161
161
|
final public func startWorkout()
|
|
162
162
|
final public func resetWorkoutState()
|
|
163
163
|
final public func pauseWorkout()
|
|
164
164
|
final public func resumeWorkout()
|
|
165
|
-
final public func skipRest(fromManualRep: Swift
|
|
165
|
+
final public func skipRest(fromManualRep: Swift::Bool = false)
|
|
166
166
|
final public func aboutToReLift()
|
|
167
|
-
final public func updateSelectedDevice(_ deviceType: SonarFitCore
|
|
168
|
-
final public func updateDevice(_ deviceType: SonarFitCore
|
|
167
|
+
final public func updateSelectedDevice(_ deviceType: SonarFitCore::DeviceType)
|
|
168
|
+
final public func updateDevice(_ deviceType: SonarFitCore::DeviceType)
|
|
169
169
|
final public func startWatchWorkoutProcessing()
|
|
170
170
|
final public func handleWatchLiftingEvent()
|
|
171
171
|
final public func endWorkoutPrompt()
|
|
172
172
|
final public func endWorkoutPromptCancelled()
|
|
173
|
-
final public func finishWorkout(save: Swift
|
|
174
|
-
final public func checkForRestCompletion(at date: Foundation
|
|
175
|
-
final public func checkForCountdownCompletion(at date: Foundation
|
|
173
|
+
final public func finishWorkout(save: Swift::Bool = true)
|
|
174
|
+
final public func checkForRestCompletion(at date: Foundation::Date = Date())
|
|
175
|
+
final public func checkForCountdownCompletion(at date: Foundation::Date = Date())
|
|
176
176
|
final public func endSetEarly()
|
|
177
|
-
final public func pauseRestTimer(at pauseDate: Foundation
|
|
178
|
-
final public func resumeRestTimer(at resumeDate: Foundation
|
|
179
|
-
final public func setRestDuration(_ seconds: Swift
|
|
180
|
-
final public func extendRestDuration(by seconds: Swift
|
|
181
|
-
final public func syncRestTimerFromWatch(startTimestamp: Foundation
|
|
182
|
-
final public func handleWatchRepCount(_ count: Swift
|
|
183
|
-
final public func handleWatchRepCountReset(_ newCount: Swift
|
|
177
|
+
final public func pauseRestTimer(at pauseDate: Foundation::Date = Date())
|
|
178
|
+
final public func resumeRestTimer(at resumeDate: Foundation::Date = Date())
|
|
179
|
+
final public func setRestDuration(_ seconds: Swift::Int)
|
|
180
|
+
final public func extendRestDuration(by seconds: Swift::Int)
|
|
181
|
+
final public func syncRestTimerFromWatch(startTimestamp: Foundation::TimeInterval, duration: Foundation::TimeInterval)
|
|
182
|
+
final public func handleWatchRepCount(_ count: Swift::Int)
|
|
183
|
+
final public func handleWatchRepCountReset(_ newCount: Swift::Int)
|
|
184
184
|
final public func handleManualIncrement()
|
|
185
185
|
final public func handleManualDecrement()
|
|
186
186
|
final public func startNextSet()
|
|
187
187
|
@objc deinit
|
|
188
188
|
}
|
|
189
|
-
extension SonarFitCore
|
|
190
|
-
final public func motionProcessor<T>(_ processor: T, didDetectRep confidence: Swift
|
|
191
|
-
final public func motionProcessor<T>(_ processor: T, didUpdateDeviceStatus status: Swift
|
|
192
|
-
final public func motionProcessor<T>(_ processor: T, didEncounterPermissionError error: any Swift
|
|
193
|
-
final public func getCurrentSetNumber() -> Swift
|
|
194
|
-
final public func getCurrentSetRepsCompleted() -> Swift
|
|
189
|
+
extension SonarFitCore::WorkoutEngine : SonarFitCore::MotionProcessorDelegate {
|
|
190
|
+
final public func motionProcessor<T>(_ processor: T, didDetectRep confidence: Swift::Double)
|
|
191
|
+
final public func motionProcessor<T>(_ processor: T, didUpdateDeviceStatus status: Swift::String)
|
|
192
|
+
final public func motionProcessor<T>(_ processor: T, didEncounterPermissionError error: any Swift::Error)
|
|
193
|
+
final public func getCurrentSetNumber() -> Swift::Int
|
|
194
|
+
final public func getCurrentSetRepsCompleted() -> Swift::Int
|
|
195
195
|
}
|
|
196
|
-
public enum RepGoal : Swift
|
|
197
|
-
case fixed(Swift
|
|
198
|
-
case range(lo: Swift
|
|
196
|
+
public enum RepGoal : Swift::Equatable, Swift::Codable {
|
|
197
|
+
case fixed(Swift::Int)
|
|
198
|
+
case range(lo: Swift::Int, hi: Swift::Int)
|
|
199
199
|
case open
|
|
200
200
|
case none
|
|
201
|
-
public static func fromHint(_ expectedReps: Swift
|
|
202
|
-
public var cap: Swift
|
|
201
|
+
public static func fromHint(_ expectedReps: Swift::Int?) -> SonarFitCore::RepGoal
|
|
202
|
+
public var cap: Swift::Int? {
|
|
203
203
|
get
|
|
204
204
|
}
|
|
205
|
-
public var rescueTarget: Swift
|
|
205
|
+
public var rescueTarget: Swift::Int? {
|
|
206
206
|
get
|
|
207
207
|
}
|
|
208
|
-
public var hasHint: Swift
|
|
208
|
+
public var hasHint: Swift::Bool {
|
|
209
209
|
get
|
|
210
210
|
}
|
|
211
|
-
public var usesSetModel: Swift
|
|
211
|
+
public var usesSetModel: Swift::Bool {
|
|
212
212
|
get
|
|
213
213
|
}
|
|
214
|
-
public var legacyHint: Swift
|
|
214
|
+
public var legacyHint: Swift::Int? {
|
|
215
215
|
get
|
|
216
216
|
}
|
|
217
|
-
public static func == (a: SonarFitCore
|
|
218
|
-
public func encode(to encoder: any Swift
|
|
219
|
-
public init(from decoder: any Swift
|
|
217
|
+
public static func == (a: SonarFitCore::RepGoal, b: SonarFitCore::RepGoal) -> Swift::Bool
|
|
218
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
219
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
220
220
|
}
|
|
221
221
|
public struct CountdownState {
|
|
222
|
-
public let startDate: Foundation
|
|
223
|
-
public let duration: Foundation
|
|
224
|
-
public var isActive: Swift
|
|
225
|
-
public init(startDate: Foundation
|
|
226
|
-
public func isCompleted(at date: Foundation
|
|
227
|
-
public func remainingTime(at date: Foundation
|
|
228
|
-
public func remainingSeconds(at date: Foundation
|
|
222
|
+
public let startDate: Foundation::Date
|
|
223
|
+
public let duration: Foundation::TimeInterval
|
|
224
|
+
public var isActive: Swift::Bool
|
|
225
|
+
public init(startDate: Foundation::Date, duration: Foundation::TimeInterval)
|
|
226
|
+
public func isCompleted(at date: Foundation::Date = Date()) -> Swift::Bool
|
|
227
|
+
public func remainingTime(at date: Foundation::Date = Date()) -> Foundation::TimeInterval
|
|
228
|
+
public func remainingSeconds(at date: Foundation::Date = Date()) -> Swift::Int
|
|
229
229
|
}
|
|
230
|
-
public struct RestTimerState : Swift
|
|
231
|
-
public var startDate: Foundation
|
|
232
|
-
public var duration: Foundation
|
|
233
|
-
public var originalDuration: Foundation
|
|
234
|
-
public var isPaused: Swift
|
|
235
|
-
public var pauseDate: Foundation
|
|
236
|
-
public var pausedRemainingTime: Foundation
|
|
237
|
-
public init(startDate: Foundation
|
|
238
|
-
public func remainingTime(at date: Foundation
|
|
239
|
-
public func remainingSeconds(at date: Foundation
|
|
240
|
-
public func isCompleted(at date: Foundation
|
|
241
|
-
public func encode(to encoder: any Swift
|
|
242
|
-
public init(from decoder: any Swift
|
|
230
|
+
public struct RestTimerState : Swift::Codable {
|
|
231
|
+
public var startDate: Foundation::Date
|
|
232
|
+
public var duration: Foundation::TimeInterval
|
|
233
|
+
public var originalDuration: Foundation::TimeInterval
|
|
234
|
+
public var isPaused: Swift::Bool
|
|
235
|
+
public var pauseDate: Foundation::Date?
|
|
236
|
+
public var pausedRemainingTime: Foundation::TimeInterval?
|
|
237
|
+
public init(startDate: Foundation::Date, duration: Foundation::TimeInterval, originalDuration: Foundation::TimeInterval? = nil, isPaused: Swift::Bool = false, pauseDate: Foundation::Date? = nil, pausedRemainingTime: Foundation::TimeInterval? = nil)
|
|
238
|
+
public func remainingTime(at date: Foundation::Date = Date()) -> Foundation::TimeInterval
|
|
239
|
+
public func remainingSeconds(at date: Foundation::Date = Date()) -> Swift::Int
|
|
240
|
+
public func isCompleted(at date: Foundation::Date = Date()) -> Swift::Bool
|
|
241
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
242
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
243
243
|
}
|
|
244
|
-
public enum SonarFitWatchSessionOwnership : Swift
|
|
244
|
+
public enum SonarFitWatchSessionOwnership : Swift::String {
|
|
245
245
|
case sdkOwned
|
|
246
246
|
case hostProvided
|
|
247
|
-
public var wireToken: Swift
|
|
247
|
+
public var wireToken: Swift::String {
|
|
248
248
|
get
|
|
249
249
|
}
|
|
250
|
-
public init?(rawValue: Swift
|
|
251
|
-
public typealias RawValue = Swift
|
|
252
|
-
public var rawValue: Swift
|
|
250
|
+
public init?(rawValue: Swift::String)
|
|
251
|
+
public typealias RawValue = Swift::String
|
|
252
|
+
public var rawValue: Swift::String {
|
|
253
253
|
get
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
public enum WorkoutType : Swift
|
|
256
|
+
public enum WorkoutType : Swift::String, Swift::CaseIterable, Swift::Codable {
|
|
257
257
|
case squat
|
|
258
258
|
case deadlift
|
|
259
259
|
case benchpress
|
|
260
260
|
case shoulderPress
|
|
261
261
|
case bicepCurl
|
|
262
|
-
public
|
|
262
|
+
public init?(name: Swift::String)
|
|
263
|
+
public var displayName: Swift::String {
|
|
263
264
|
get
|
|
264
265
|
}
|
|
265
|
-
public var muscleGroups: [SonarFitCore
|
|
266
|
+
public var muscleGroups: [SonarFitCore::MuscleGroup] {
|
|
266
267
|
get
|
|
267
268
|
}
|
|
268
|
-
public var supportedDevices: Swift
|
|
269
|
+
public var supportedDevices: Swift::Set<SonarFitCore::DeviceType> {
|
|
269
270
|
get
|
|
270
271
|
}
|
|
271
|
-
public func belongsTo(_ category: SonarFitCore
|
|
272
|
-
public init?(rawValue: Swift
|
|
273
|
-
public typealias AllCases = [SonarFitCore
|
|
274
|
-
public typealias RawValue = Swift
|
|
275
|
-
nonisolated public static var allCases: [SonarFitCore
|
|
272
|
+
public func belongsTo(_ category: SonarFitCore::ExerciseCategory) -> Swift::Bool
|
|
273
|
+
public init?(rawValue: Swift::String)
|
|
274
|
+
public typealias AllCases = [SonarFitCore::WorkoutType]
|
|
275
|
+
public typealias RawValue = Swift::String
|
|
276
|
+
nonisolated public static var allCases: [SonarFitCore::WorkoutType] {
|
|
276
277
|
get
|
|
277
278
|
}
|
|
278
|
-
public var rawValue: Swift
|
|
279
|
+
public var rawValue: Swift::String {
|
|
279
280
|
get
|
|
280
281
|
}
|
|
281
282
|
}
|
|
282
|
-
public enum MuscleGroup : Swift
|
|
283
|
+
public enum MuscleGroup : Swift::String, Swift::CaseIterable, Swift::Codable {
|
|
283
284
|
case quads, hamstrings, glutes, calves
|
|
284
285
|
case chest, triceps, shoulders
|
|
285
286
|
case back, lats, biceps, forearms
|
|
286
287
|
case core, neck
|
|
287
|
-
public var displayName: Swift
|
|
288
|
+
public var displayName: Swift::String {
|
|
288
289
|
get
|
|
289
290
|
}
|
|
290
|
-
public init?(rawValue: Swift
|
|
291
|
-
public typealias AllCases = [SonarFitCore
|
|
292
|
-
public typealias RawValue = Swift
|
|
293
|
-
nonisolated public static var allCases: [SonarFitCore
|
|
291
|
+
public init?(rawValue: Swift::String)
|
|
292
|
+
public typealias AllCases = [SonarFitCore::MuscleGroup]
|
|
293
|
+
public typealias RawValue = Swift::String
|
|
294
|
+
nonisolated public static var allCases: [SonarFitCore::MuscleGroup] {
|
|
294
295
|
get
|
|
295
296
|
}
|
|
296
|
-
public var rawValue: Swift
|
|
297
|
+
public var rawValue: Swift::String {
|
|
297
298
|
get
|
|
298
299
|
}
|
|
299
300
|
}
|
|
300
|
-
public enum ExerciseCategory : Swift
|
|
301
|
+
public enum ExerciseCategory : Swift::String, Swift::CaseIterable {
|
|
301
302
|
case legs, chest, back, shoulders, arms
|
|
302
|
-
public var displayName: Swift
|
|
303
|
+
public var displayName: Swift::String {
|
|
303
304
|
get
|
|
304
305
|
}
|
|
305
|
-
public var muscleGroups: Swift
|
|
306
|
+
public var muscleGroups: Swift::Set<SonarFitCore::MuscleGroup> {
|
|
306
307
|
get
|
|
307
308
|
}
|
|
308
|
-
public init?(rawValue: Swift
|
|
309
|
-
public typealias AllCases = [SonarFitCore
|
|
310
|
-
public typealias RawValue = Swift
|
|
311
|
-
nonisolated public static var allCases: [SonarFitCore
|
|
309
|
+
public init?(rawValue: Swift::String)
|
|
310
|
+
public typealias AllCases = [SonarFitCore::ExerciseCategory]
|
|
311
|
+
public typealias RawValue = Swift::String
|
|
312
|
+
nonisolated public static var allCases: [SonarFitCore::ExerciseCategory] {
|
|
312
313
|
get
|
|
313
314
|
}
|
|
314
|
-
public var rawValue: Swift
|
|
315
|
+
public var rawValue: Swift::String {
|
|
315
316
|
get
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
|
-
public enum DeviceType : Swift
|
|
319
|
+
public enum DeviceType : Swift::String, Swift::CaseIterable, Swift::Codable {
|
|
319
320
|
case none
|
|
320
321
|
case watch
|
|
321
322
|
case airpods
|
|
322
|
-
public init?(rawValue: Swift
|
|
323
|
-
public typealias AllCases = [SonarFitCore
|
|
324
|
-
public typealias RawValue = Swift
|
|
325
|
-
nonisolated public static var allCases: [SonarFitCore
|
|
323
|
+
public init?(rawValue: Swift::String)
|
|
324
|
+
public typealias AllCases = [SonarFitCore::DeviceType]
|
|
325
|
+
public typealias RawValue = Swift::String
|
|
326
|
+
nonisolated public static var allCases: [SonarFitCore::DeviceType] {
|
|
326
327
|
get
|
|
327
328
|
}
|
|
328
|
-
public var rawValue: Swift
|
|
329
|
+
public var rawValue: Swift::String {
|
|
329
330
|
get
|
|
330
331
|
}
|
|
331
332
|
}
|
|
332
|
-
extension SonarFitCore
|
|
333
|
-
public var isAvailable: Swift
|
|
333
|
+
extension SonarFitCore::DeviceType {
|
|
334
|
+
public var isAvailable: Swift::Bool {
|
|
334
335
|
get
|
|
335
336
|
}
|
|
336
337
|
}
|
|
337
|
-
public enum WorkoutState : Swift
|
|
338
|
+
public enum WorkoutState : Swift::Equatable {
|
|
338
339
|
case ready
|
|
339
340
|
case communicating
|
|
340
|
-
case countdown(Swift
|
|
341
|
+
case countdown(Swift::Int)
|
|
341
342
|
case active
|
|
342
343
|
case paused
|
|
343
|
-
case resting(remaining: Swift
|
|
344
|
+
case resting(remaining: Swift::Int, total: Swift::Int)
|
|
344
345
|
case readyToLift
|
|
345
346
|
case completed
|
|
346
347
|
case cancelled
|
|
347
|
-
public static func == (a: SonarFitCore
|
|
348
|
+
public static func == (a: SonarFitCore::WorkoutState, b: SonarFitCore::WorkoutState) -> Swift::Bool
|
|
348
349
|
}
|
|
349
|
-
public struct WorkoutConfig : Swift
|
|
350
|
-
public let workoutType: SonarFitCore
|
|
351
|
-
public let sets: Swift
|
|
352
|
-
public let reps: Swift
|
|
353
|
-
public let restTime: Swift
|
|
354
|
-
public let countdownDuration: Swift
|
|
355
|
-
public let autoReLift: Swift
|
|
356
|
-
public let deviceType: SonarFitCore
|
|
357
|
-
public init(workoutType: SonarFitCore
|
|
358
|
-
public func encode(to encoder: any Swift
|
|
359
|
-
public init(from decoder: any Swift
|
|
350
|
+
public struct WorkoutConfig : Swift::Codable {
|
|
351
|
+
public let workoutType: SonarFitCore::WorkoutType
|
|
352
|
+
public let sets: Swift::Int
|
|
353
|
+
public let reps: Swift::Int
|
|
354
|
+
public let restTime: Swift::Int
|
|
355
|
+
public let countdownDuration: Swift::Int
|
|
356
|
+
public let autoReLift: Swift::Bool
|
|
357
|
+
public let deviceType: SonarFitCore::DeviceType
|
|
358
|
+
public init(workoutType: SonarFitCore::WorkoutType, sets: Swift::Int, reps: Swift::Int, restTime: Swift::Int = 60, countdownDuration: Swift::Int = 3, autoReLift: Swift::Bool = true, deviceType: SonarFitCore::DeviceType = .none)
|
|
359
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
360
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
360
361
|
}
|
|
361
|
-
public struct VersionedConfig : Swift
|
|
362
|
-
public let version: Swift
|
|
363
|
-
public let config: SonarFitCore
|
|
364
|
-
public init(version: Swift
|
|
365
|
-
public func encode(to encoder: any Swift
|
|
366
|
-
public init(from decoder: any Swift
|
|
362
|
+
public struct VersionedConfig : Swift::Codable {
|
|
363
|
+
public let version: Swift::Int
|
|
364
|
+
public let config: SonarFitCore::WorkoutConfig
|
|
365
|
+
public init(version: Swift::Int, config: SonarFitCore::WorkoutConfig)
|
|
366
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
367
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
367
368
|
}
|
|
368
|
-
public struct WorkoutResult : Swift
|
|
369
|
-
public let workoutType: SonarFitCore
|
|
370
|
-
public let deviceType: SonarFitCore
|
|
371
|
-
public let startTime: Foundation
|
|
372
|
-
public let endTime: Foundation
|
|
373
|
-
public let totalDuration: Foundation
|
|
374
|
-
public let status: SonarFitCore
|
|
375
|
-
public let completionPercentage: Swift
|
|
376
|
-
public let sets: [SonarFitCore
|
|
377
|
-
public let targetSets: Swift
|
|
378
|
-
public let targetRepsPerSet: Swift
|
|
379
|
-
public let totalRepsCompleted: Swift
|
|
380
|
-
public let totalTargetReps: Swift
|
|
381
|
-
public init(workoutType: SonarFitCore
|
|
382
|
-
public func encode(to encoder: any Swift
|
|
383
|
-
public init(from decoder: any Swift
|
|
369
|
+
public struct WorkoutResult : Swift::Codable {
|
|
370
|
+
public let workoutType: SonarFitCore::WorkoutType
|
|
371
|
+
public let deviceType: SonarFitCore::DeviceType
|
|
372
|
+
public let startTime: Foundation::Date
|
|
373
|
+
public let endTime: Foundation::Date
|
|
374
|
+
public let totalDuration: Foundation::TimeInterval
|
|
375
|
+
public let status: SonarFitCore::WorkoutStatus
|
|
376
|
+
public let completionPercentage: Swift::Double
|
|
377
|
+
public let sets: [SonarFitCore::WorkoutSet]
|
|
378
|
+
public let targetSets: Swift::Int
|
|
379
|
+
public let targetRepsPerSet: Swift::Int
|
|
380
|
+
public let totalRepsCompleted: Swift::Int
|
|
381
|
+
public let totalTargetReps: Swift::Int
|
|
382
|
+
public init(workoutType: SonarFitCore::WorkoutType, deviceType: SonarFitCore::DeviceType, startTime: Foundation::Date, endTime: Foundation::Date, totalDuration: Foundation::TimeInterval, status: SonarFitCore::WorkoutStatus, completionPercentage: Swift::Double, sets: [SonarFitCore::WorkoutSet], targetSets: Swift::Int, targetRepsPerSet: Swift::Int, totalRepsCompleted: Swift::Int, totalTargetReps: Swift::Int)
|
|
383
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
384
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
384
385
|
}
|
|
385
|
-
public struct WorkoutSet : Swift
|
|
386
|
-
public let setNumber: Swift
|
|
387
|
-
public let repsCompleted: Swift
|
|
388
|
-
public init(setNumber: Swift
|
|
389
|
-
public func encode(to encoder: any Swift
|
|
390
|
-
public init(from decoder: any Swift
|
|
386
|
+
public struct WorkoutSet : Swift::Codable {
|
|
387
|
+
public let setNumber: Swift::Int
|
|
388
|
+
public let repsCompleted: Swift::Int
|
|
389
|
+
public init(setNumber: Swift::Int, repsCompleted: Swift::Int)
|
|
390
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
391
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
391
392
|
}
|
|
392
|
-
public enum WorkoutStatus : Swift
|
|
393
|
+
public enum WorkoutStatus : Swift::Codable {
|
|
393
394
|
case completed
|
|
394
395
|
case stoppedEarly
|
|
395
|
-
public static func == (a: SonarFitCore
|
|
396
|
-
public func encode(to encoder: any Swift
|
|
397
|
-
public func hash(into hasher: inout Swift
|
|
398
|
-
public var hashValue: Swift
|
|
396
|
+
public static func == (a: SonarFitCore::WorkoutStatus, b: SonarFitCore::WorkoutStatus) -> Swift::Bool
|
|
397
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
398
|
+
public func hash(into hasher: inout Swift::Hasher)
|
|
399
|
+
public var hashValue: Swift::Int {
|
|
399
400
|
get
|
|
400
401
|
}
|
|
401
|
-
public init(from decoder: any Swift
|
|
402
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
402
403
|
}
|
|
403
|
-
extension SonarFitCore
|
|
404
|
-
public static func from(session: SonarFitCore
|
|
404
|
+
extension SonarFitCore::WorkoutResult {
|
|
405
|
+
public static func from(session: SonarFitCore::WorkoutSession, endTime: Foundation::Date = Date(), status: SonarFitCore::WorkoutStatus) -> SonarFitCore::WorkoutResult
|
|
405
406
|
}
|
|
406
407
|
public struct WorkoutSession {
|
|
407
|
-
public var config: SonarFitCore
|
|
408
|
-
public let startTime: Foundation
|
|
409
|
-
public var currentSetRepsCompleted: Swift
|
|
410
|
-
public var completedReps: [Swift
|
|
411
|
-
public var state: SonarFitCore
|
|
412
|
-
public var currentSetNumber: Swift
|
|
408
|
+
public var config: SonarFitCore::WorkoutConfig
|
|
409
|
+
public let startTime: Foundation::Date
|
|
410
|
+
public var currentSetRepsCompleted: Swift::Int
|
|
411
|
+
public var completedReps: [Swift::Int]
|
|
412
|
+
public var state: SonarFitCore::WorkoutState
|
|
413
|
+
public var currentSetNumber: Swift::Int {
|
|
413
414
|
get
|
|
414
415
|
}
|
|
415
|
-
public init(config: SonarFitCore
|
|
416
|
-
public var progress: Swift
|
|
416
|
+
public init(config: SonarFitCore::WorkoutConfig)
|
|
417
|
+
public var progress: Swift::Double {
|
|
417
418
|
get
|
|
418
419
|
}
|
|
419
|
-
public var isActive: Swift
|
|
420
|
+
public var isActive: Swift::Bool {
|
|
420
421
|
get
|
|
421
422
|
}
|
|
422
423
|
}
|
|
423
424
|
final public class EnhancedMotionProcessor {
|
|
424
|
-
weak final public var delegate: (any SonarFitCore
|
|
425
|
-
final public var isProcessing: Swift
|
|
425
|
+
weak final public var delegate: (any SonarFitCore::MotionProcessorDelegate)?
|
|
426
|
+
final public var isProcessing: Swift::Bool {
|
|
426
427
|
get
|
|
427
428
|
}
|
|
428
|
-
final public var deviceStatus: Swift
|
|
429
|
+
final public var deviceStatus: Swift::String {
|
|
429
430
|
get
|
|
430
431
|
}
|
|
431
|
-
public init(workoutType: SonarFitCore
|
|
432
|
-
final public func updateDevice(_ newDeviceType: SonarFitCore
|
|
432
|
+
public init(workoutType: SonarFitCore::WorkoutType, deviceType: SonarFitCore::DeviceType)
|
|
433
|
+
final public func updateDevice(_ newDeviceType: SonarFitCore::DeviceType)
|
|
433
434
|
final public func startProcessing()
|
|
434
435
|
final public func stopProcessing()
|
|
435
436
|
final public func endSetKeepStreamAlive()
|
|
436
|
-
final public func processMotionData(_ payload: SonarFitCore
|
|
437
|
+
final public func processMotionData(_ payload: SonarFitCore::MotionPayload)
|
|
437
438
|
@objc deinit
|
|
438
439
|
}
|
|
439
|
-
public struct MotionPayload : Swift
|
|
440
|
-
public let timestamp: Foundation
|
|
441
|
-
public let accelerationX: Swift
|
|
442
|
-
public let accelerationY: Swift
|
|
443
|
-
public let accelerationZ: Swift
|
|
444
|
-
public let rotationX: Swift
|
|
445
|
-
public let rotationY: Swift
|
|
446
|
-
public let rotationZ: Swift
|
|
447
|
-
public let gravityX: Swift
|
|
448
|
-
public let gravityY: Swift
|
|
449
|
-
public let gravityZ: Swift
|
|
450
|
-
public let pitch: Swift
|
|
451
|
-
public let roll: Swift
|
|
452
|
-
public let yaw: Swift
|
|
453
|
-
public let quatW: Swift
|
|
454
|
-
public let quatX: Swift
|
|
455
|
-
public let quatY: Swift
|
|
456
|
-
public let quatZ: Swift
|
|
457
|
-
public let magX: Swift
|
|
458
|
-
public let magY: Swift
|
|
459
|
-
public let magZ: Swift
|
|
460
|
-
public let magAccuracy: Swift
|
|
461
|
-
public let heading: Swift
|
|
462
|
-
public let sensorTimestamp: Swift
|
|
463
|
-
public init(timestamp: Foundation
|
|
464
|
-
public func encode(to encoder: any Swift
|
|
465
|
-
public init(from decoder: any Swift
|
|
440
|
+
public struct MotionPayload : Swift::Codable {
|
|
441
|
+
public let timestamp: Foundation::Date
|
|
442
|
+
public let accelerationX: Swift::Double
|
|
443
|
+
public let accelerationY: Swift::Double
|
|
444
|
+
public let accelerationZ: Swift::Double
|
|
445
|
+
public let rotationX: Swift::Double
|
|
446
|
+
public let rotationY: Swift::Double
|
|
447
|
+
public let rotationZ: Swift::Double
|
|
448
|
+
public let gravityX: Swift::Double?
|
|
449
|
+
public let gravityY: Swift::Double?
|
|
450
|
+
public let gravityZ: Swift::Double?
|
|
451
|
+
public let pitch: Swift::Double?
|
|
452
|
+
public let roll: Swift::Double?
|
|
453
|
+
public let yaw: Swift::Double?
|
|
454
|
+
public let quatW: Swift::Double?
|
|
455
|
+
public let quatX: Swift::Double?
|
|
456
|
+
public let quatY: Swift::Double?
|
|
457
|
+
public let quatZ: Swift::Double?
|
|
458
|
+
public let magX: Swift::Double?
|
|
459
|
+
public let magY: Swift::Double?
|
|
460
|
+
public let magZ: Swift::Double?
|
|
461
|
+
public let magAccuracy: Swift::Int?
|
|
462
|
+
public let heading: Swift::Double?
|
|
463
|
+
public let sensorTimestamp: Swift::Double?
|
|
464
|
+
public init(timestamp: Foundation::Date = Date(), accelerationX: Swift::Double, accelerationY: Swift::Double, accelerationZ: Swift::Double, rotationX: Swift::Double, rotationY: Swift::Double, rotationZ: Swift::Double, gravityX: Swift::Double? = nil, gravityY: Swift::Double? = nil, gravityZ: Swift::Double? = nil, pitch: Swift::Double? = nil, roll: Swift::Double? = nil, yaw: Swift::Double? = nil, quatW: Swift::Double? = nil, quatX: Swift::Double? = nil, quatY: Swift::Double? = nil, quatZ: Swift::Double? = nil, magX: Swift::Double? = nil, magY: Swift::Double? = nil, magZ: Swift::Double? = nil, magAccuracy: Swift::Int? = nil, heading: Swift::Double? = nil, sensorTimestamp: Swift::Double? = nil)
|
|
465
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
466
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
466
467
|
}
|
|
467
|
-
@_hasMissingDesignatedInitializers final public class HeadphoneMotionManager : Foundation
|
|
468
|
-
public static let shared: SonarFitCore
|
|
469
|
-
@Combine
|
|
468
|
+
@_hasMissingDesignatedInitializers final public class HeadphoneMotionManager : Foundation::ObservableObject {
|
|
469
|
+
public static let shared: SonarFitCore::HeadphoneMotionManager
|
|
470
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isHeadphoneConnected) final public var isHeadphoneConnected: Swift::Bool {
|
|
470
471
|
get
|
|
471
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
472
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
472
473
|
set
|
|
473
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
474
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
474
475
|
_modify
|
|
475
476
|
}
|
|
476
|
-
final public var $isHeadphoneConnected: Combine
|
|
477
|
+
final public var $isHeadphoneConnected: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
477
478
|
get
|
|
478
|
-
@available(iOS 14.0, tvOS 14.0, watchOS 7.0,
|
|
479
|
+
@available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
|
|
479
480
|
set
|
|
480
481
|
}
|
|
481
|
-
@Combine
|
|
482
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isHeadphoneInEar) final public var isHeadphoneInEar: Swift::Bool {
|
|
482
483
|
get
|
|
483
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
484
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
484
485
|
set
|
|
485
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
486
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
486
487
|
_modify
|
|
487
488
|
}
|
|
488
|
-
final public var $isHeadphoneInEar: Combine
|
|
489
|
+
final public var $isHeadphoneInEar: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
489
490
|
get
|
|
490
|
-
@available(iOS 14.0, tvOS 14.0, watchOS 7.0,
|
|
491
|
+
@available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
|
|
491
492
|
set
|
|
492
493
|
}
|
|
493
494
|
@objc deinit
|
|
494
495
|
final public func checkHeadphoneStatus()
|
|
495
|
-
final public func getHeadphoneDeviceName() -> Swift
|
|
496
|
-
public typealias ObjectWillChangePublisher = Combine
|
|
496
|
+
final public func getHeadphoneDeviceName() -> Swift::String?
|
|
497
|
+
public typealias ObjectWillChangePublisher = Combine::ObservableObjectPublisher
|
|
497
498
|
}
|
|
498
499
|
public protocol WorkoutEngineDelegate : AnyObject {
|
|
499
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
500
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
501
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
502
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
503
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
504
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
505
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
506
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
507
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
508
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
509
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
510
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
511
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
512
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
513
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
514
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
515
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
500
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateSession session: SonarFitCore::WorkoutSession)
|
|
501
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCompleteRep rep: Swift::Int, inSet set: Swift::Int)
|
|
502
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCompleteSet set: Swift::Int)
|
|
503
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didStartRest duration: Swift::Int)
|
|
504
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateRestTime remaining: Swift::Int)
|
|
505
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didEndRest isAutomatic: Swift::Bool)
|
|
506
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCompleteWorkout result: SonarFitCore::WorkoutResult)
|
|
507
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCancelWorkout result: SonarFitCore::WorkoutResult?)
|
|
508
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didEncounterMotionPermissionError error: any Swift::Error)
|
|
509
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateDeviceStatus status: Swift::String)
|
|
510
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, setReadyForReview setIndex: Swift::Int, liveRepCount: Swift::Int, deadline: Foundation::Date)
|
|
511
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, setReviewResolved setIndex: Swift::Int)
|
|
512
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldLaunchWatchWithConfig config: SonarFitCore::WorkoutConfig)
|
|
513
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldSendWorkoutToWatch config: SonarFitCore::WorkoutConfig)
|
|
514
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldUpdateWatchRestTimer remaining: Swift::Int, total: Swift::Int)
|
|
515
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldEndWatchWorkout result: SonarFitCore::WorkoutResult?)
|
|
516
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldSendWatchMessage message: Any)
|
|
516
517
|
}
|
|
517
518
|
public protocol DeviceStatusDelegate : AnyObject {
|
|
518
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
519
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
520
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
521
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
522
|
-
func workoutEngine(_ engine: SonarFitCore
|
|
519
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateHeadphoneConnection isConnected: Swift::Bool)
|
|
520
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateHeadphoneInEar isInEar: Swift::Bool)
|
|
521
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateWatchPaired isPaired: Swift::Bool)
|
|
522
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateWatchAppInstalled isInstalled: Swift::Bool)
|
|
523
|
+
func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateWatchReachable isReachable: Swift::Bool)
|
|
523
524
|
}
|
|
524
525
|
public protocol MotionProcessorDelegate : AnyObject {
|
|
525
|
-
func motionProcessor<T>(_ processor: T, didDetectRep confidence: Swift
|
|
526
|
-
func motionProcessor<T>(_ processor: T, didUpdateDeviceStatus status: Swift
|
|
527
|
-
func motionProcessor<T>(_ processor: T, didEncounterPermissionError error: any Swift
|
|
528
|
-
func getCurrentSetNumber() -> Swift
|
|
529
|
-
func getCurrentSetRepsCompleted() -> Swift
|
|
526
|
+
func motionProcessor<T>(_ processor: T, didDetectRep confidence: Swift::Double)
|
|
527
|
+
func motionProcessor<T>(_ processor: T, didUpdateDeviceStatus status: Swift::String)
|
|
528
|
+
func motionProcessor<T>(_ processor: T, didEncounterPermissionError error: any Swift::Error)
|
|
529
|
+
func getCurrentSetNumber() -> Swift::Int
|
|
530
|
+
func getCurrentSetRepsCompleted() -> Swift::Int
|
|
530
531
|
}
|
|
531
|
-
extension SonarFitCore
|
|
532
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
533
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
534
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
535
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
536
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
537
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
538
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
539
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
540
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
541
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
542
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
543
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
544
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
545
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
546
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
547
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
548
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
532
|
+
extension SonarFitCore::WorkoutEngineDelegate {
|
|
533
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateSession session: SonarFitCore::WorkoutSession)
|
|
534
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCompleteRep rep: Swift::Int, inSet set: Swift::Int)
|
|
535
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCompleteSet set: Swift::Int)
|
|
536
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didStartRest duration: Swift::Int)
|
|
537
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateRestTime remaining: Swift::Int)
|
|
538
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didEndRest isAutomatic: Swift::Bool)
|
|
539
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCompleteWorkout result: SonarFitCore::WorkoutResult)
|
|
540
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCancelWorkout result: SonarFitCore::WorkoutResult?)
|
|
541
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didEncounterMotionPermissionError error: any Swift::Error)
|
|
542
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateDeviceStatus status: Swift::String)
|
|
543
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, setReadyForReview setIndex: Swift::Int, liveRepCount: Swift::Int, deadline: Foundation::Date)
|
|
544
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, setReviewResolved setIndex: Swift::Int)
|
|
545
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldLaunchWatchWithConfig config: SonarFitCore::WorkoutConfig)
|
|
546
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldSendWorkoutToWatch config: SonarFitCore::WorkoutConfig)
|
|
547
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldUpdateWatchRestTimer remaining: Swift::Int, total: Swift::Int)
|
|
548
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldEndWatchWorkout result: SonarFitCore::WorkoutResult?)
|
|
549
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldSendWatchMessage message: Any)
|
|
549
550
|
}
|
|
550
|
-
extension SonarFitCore
|
|
551
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
552
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
553
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
554
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
555
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
551
|
+
extension SonarFitCore::DeviceStatusDelegate {
|
|
552
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateHeadphoneConnection isConnected: Swift::Bool)
|
|
553
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateHeadphoneInEar isInEar: Swift::Bool)
|
|
554
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateWatchPaired isPaired: Swift::Bool)
|
|
555
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateWatchAppInstalled isInstalled: Swift::Bool)
|
|
556
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateWatchReachable isReachable: Swift::Bool)
|
|
556
557
|
}
|
|
557
|
-
extension SonarFitCore
|
|
558
|
-
public func motionProcessor<T>(_ processor: T, didDetectRep confidence: Swift
|
|
559
|
-
public func motionProcessor<T>(_ processor: T, didUpdateDeviceStatus status: Swift
|
|
560
|
-
public func motionProcessor<T>(_ processor: T, didEncounterPermissionError error: any Swift
|
|
561
|
-
public func getCurrentSetNumber() -> Swift
|
|
562
|
-
public func getCurrentSetRepsCompleted() -> Swift
|
|
558
|
+
extension SonarFitCore::MotionProcessorDelegate {
|
|
559
|
+
public func motionProcessor<T>(_ processor: T, didDetectRep confidence: Swift::Double)
|
|
560
|
+
public func motionProcessor<T>(_ processor: T, didUpdateDeviceStatus status: Swift::String)
|
|
561
|
+
public func motionProcessor<T>(_ processor: T, didEncounterPermissionError error: any Swift::Error)
|
|
562
|
+
public func getCurrentSetNumber() -> Swift::Int
|
|
563
|
+
public func getCurrentSetRepsCompleted() -> Swift::Int
|
|
563
564
|
}
|
|
564
|
-
public typealias PlatformColor = UIKit
|
|
565
|
-
public typealias PlatformFont = UIKit
|
|
565
|
+
public typealias PlatformColor = UIKit::UIColor
|
|
566
|
+
public typealias PlatformFont = UIKit::UIFont
|
|
566
567
|
public enum SonarFitDefaults {
|
|
567
568
|
public enum Colors {
|
|
568
|
-
public static let background: UIKit
|
|
569
|
-
public static let primary: SonarFitCore
|
|
570
|
-
public static let textOnBackground: UIKit
|
|
571
|
-
public static let subtextOnBackground: UIKit
|
|
572
|
-
public static let textOnPrimary: UIKit
|
|
573
|
-
public static let timerWarning: UIKit
|
|
569
|
+
public static let background: UIKit::UIColor
|
|
570
|
+
public static let primary: SonarFitCore::PlatformColor
|
|
571
|
+
public static let textOnBackground: UIKit::UIColor
|
|
572
|
+
public static let subtextOnBackground: UIKit::UIColor
|
|
573
|
+
public static let textOnPrimary: UIKit::UIColor
|
|
574
|
+
public static let timerWarning: UIKit::UIColor
|
|
574
575
|
}
|
|
575
576
|
public enum Fonts {
|
|
576
|
-
public static let title: UIKit
|
|
577
|
-
public static let body: UIKit
|
|
578
|
-
public static let caption: UIKit
|
|
577
|
+
public static let title: UIKit::UIFont
|
|
578
|
+
public static let body: UIKit::UIFont
|
|
579
|
+
public static let caption: UIKit::UIFont
|
|
579
580
|
}
|
|
580
581
|
}
|
|
581
|
-
public struct SonarFitTheme : Swift
|
|
582
|
-
public var colors: SonarFitCore
|
|
583
|
-
public var typography: SonarFitCore
|
|
584
|
-
public init(colors: SonarFitCore
|
|
582
|
+
public struct SonarFitTheme : Swift::Sendable {
|
|
583
|
+
public var colors: SonarFitCore::SonarFitTheme.SonarFitCore::Colors
|
|
584
|
+
public var typography: SonarFitCore::SonarFitTheme.SonarFitCore::Typography?
|
|
585
|
+
public init(colors: SonarFitCore::SonarFitTheme.SonarFitCore::Colors = Colors(), typography: SonarFitCore::SonarFitTheme.SonarFitCore::Typography? = nil)
|
|
585
586
|
}
|
|
586
|
-
extension SonarFitCore
|
|
587
|
-
public struct Colors : Swift
|
|
588
|
-
public var background: SonarFitCore
|
|
589
|
-
public var primary: SonarFitCore
|
|
590
|
-
public var textOnBackground: SonarFitCore
|
|
591
|
-
public var subtextOnBackground: SonarFitCore
|
|
592
|
-
public var textOnPrimary: SonarFitCore
|
|
593
|
-
public var timerWarning: SonarFitCore
|
|
594
|
-
public init(background: SonarFitCore
|
|
587
|
+
extension SonarFitCore::SonarFitTheme {
|
|
588
|
+
public struct Colors : Swift::Sendable {
|
|
589
|
+
public var background: SonarFitCore::PlatformColor
|
|
590
|
+
public var primary: SonarFitCore::PlatformColor
|
|
591
|
+
public var textOnBackground: SonarFitCore::PlatformColor
|
|
592
|
+
public var subtextOnBackground: SonarFitCore::PlatformColor
|
|
593
|
+
public var textOnPrimary: SonarFitCore::PlatformColor
|
|
594
|
+
public var timerWarning: SonarFitCore::PlatformColor
|
|
595
|
+
public init(background: SonarFitCore::PlatformColor? = nil, primary: SonarFitCore::PlatformColor? = nil, textOnBackground: SonarFitCore::PlatformColor? = nil, subtextOnBackground: SonarFitCore::PlatformColor? = nil, textOnPrimary: SonarFitCore::PlatformColor? = nil, timerWarning: SonarFitCore::PlatformColor? = nil)
|
|
595
596
|
}
|
|
596
597
|
}
|
|
597
|
-
extension SonarFitCore
|
|
598
|
-
public struct Typography : Swift
|
|
599
|
-
public var titleFont: SonarFitCore
|
|
600
|
-
public var bodyFont: SonarFitCore
|
|
601
|
-
public var captionFont: SonarFitCore
|
|
602
|
-
public init(titleFont: SonarFitCore
|
|
598
|
+
extension SonarFitCore::SonarFitTheme {
|
|
599
|
+
public struct Typography : Swift::Sendable {
|
|
600
|
+
public var titleFont: SonarFitCore::PlatformFont
|
|
601
|
+
public var bodyFont: SonarFitCore::PlatformFont
|
|
602
|
+
public var captionFont: SonarFitCore::PlatformFont
|
|
603
|
+
public init(titleFont: SonarFitCore::PlatformFont? = nil, bodyFont: SonarFitCore::PlatformFont? = nil, captionFont: SonarFitCore::PlatformFont? = nil)
|
|
603
604
|
}
|
|
604
605
|
}
|
|
605
606
|
final public class ThemeManager {
|
|
606
|
-
public init(theme: SonarFitCore
|
|
607
|
-
final public func color(_ keyPath: Swift
|
|
608
|
-
final public func font(_ keyPath: Swift
|
|
609
|
-
final public var currentTheme: SonarFitCore
|
|
607
|
+
public init(theme: SonarFitCore::SonarFitTheme = .init())
|
|
608
|
+
final public func color(_ keyPath: Swift::KeyPath<SonarFitCore::SonarFitTheme.SonarFitCore::Colors, SonarFitCore::PlatformColor>) -> SonarFitCore::PlatformColor
|
|
609
|
+
final public func font(_ keyPath: Swift::KeyPath<SonarFitCore::SonarFitTheme.SonarFitCore::Typography, SonarFitCore::PlatformFont>) -> SonarFitCore::PlatformFont
|
|
610
|
+
final public var currentTheme: SonarFitCore::SonarFitTheme {
|
|
610
611
|
get
|
|
611
612
|
}
|
|
612
|
-
final public var actionStart: SonarFitCore
|
|
613
|
+
final public var actionStart: SonarFitCore::PlatformColor {
|
|
613
614
|
get
|
|
614
615
|
}
|
|
615
|
-
final public var actionPause: SonarFitCore
|
|
616
|
+
final public var actionPause: SonarFitCore::PlatformColor {
|
|
616
617
|
get
|
|
617
618
|
}
|
|
618
|
-
final public var actionSkip: SonarFitCore
|
|
619
|
+
final public var actionSkip: SonarFitCore::PlatformColor {
|
|
619
620
|
get
|
|
620
621
|
}
|
|
621
622
|
@objc deinit
|
|
622
623
|
}
|
|
623
|
-
public enum SonarFitLogLevel : Swift
|
|
624
|
+
public enum SonarFitLogLevel : Swift::Int, Swift::Comparable {
|
|
624
625
|
case none
|
|
625
626
|
case minimal
|
|
626
627
|
case standard
|
|
627
628
|
case verbose
|
|
628
629
|
case debug
|
|
629
|
-
public static func < (lhs: SonarFitCore
|
|
630
|
-
public init?(rawValue: Swift
|
|
631
|
-
public typealias RawValue = Swift
|
|
632
|
-
public var rawValue: Swift
|
|
630
|
+
public static func < (lhs: SonarFitCore::SonarFitLogLevel, rhs: SonarFitCore::SonarFitLogLevel) -> Swift::Bool
|
|
631
|
+
public init?(rawValue: Swift::Int)
|
|
632
|
+
public typealias RawValue = Swift::Int
|
|
633
|
+
public var rawValue: Swift::Int {
|
|
633
634
|
get
|
|
634
635
|
}
|
|
635
636
|
}
|
|
636
637
|
@_hasMissingDesignatedInitializers public class SonarFitLogger {
|
|
637
|
-
public static var logLevel: SonarFitCore
|
|
638
|
+
public static var logLevel: SonarFitCore::SonarFitLogLevel
|
|
638
639
|
@available(*, deprecated, message: "Use logLevel instead")
|
|
639
|
-
public static var isDebugEnabled: Swift
|
|
640
|
+
public static var isDebugEnabled: Swift::Bool {
|
|
640
641
|
get
|
|
641
642
|
set
|
|
642
643
|
}
|
|
643
|
-
public static func debug(_ message: Swift
|
|
644
|
-
public static func info(_ message: Swift
|
|
645
|
-
public static func warning(_ message: Swift
|
|
646
|
-
public static func error(_ message: Swift
|
|
647
|
-
public static func motion(_ message: Swift
|
|
648
|
-
public static func connectivity(_ message: Swift
|
|
644
|
+
public static func debug(_ message: Swift::String, file: Swift::String = #fileID, function: Swift::String = #function, line: Swift::Int = #line)
|
|
645
|
+
public static func info(_ message: Swift::String, file: Swift::String = #fileID, function: Swift::String = #function, line: Swift::Int = #line)
|
|
646
|
+
public static func warning(_ message: Swift::String, file: Swift::String = #fileID, function: Swift::String = #function, line: Swift::Int = #line)
|
|
647
|
+
public static func error(_ message: Swift::String, file: Swift::String = #fileID, function: Swift::String = #function, line: Swift::Int = #line)
|
|
648
|
+
public static func motion(_ message: Swift::String)
|
|
649
|
+
public static func connectivity(_ message: Swift::String)
|
|
649
650
|
@objc deinit
|
|
650
651
|
}
|
|
651
|
-
public typealias SFLog = SonarFitCore
|
|
652
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class WatchStatusManager : ObjectiveC
|
|
653
|
-
public static let shared: SonarFitCore
|
|
654
|
-
@Combine
|
|
652
|
+
public typealias SFLog = SonarFitCore::SonarFitLogger
|
|
653
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class WatchStatusManager : ObjectiveC::NSObject, Foundation::ObservableObject {
|
|
654
|
+
public static let shared: SonarFitCore::WatchStatusManager
|
|
655
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isWatchPaired) final public var isWatchPaired: Swift::Bool {
|
|
655
656
|
get
|
|
656
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
657
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
657
658
|
set
|
|
658
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
659
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
659
660
|
_modify
|
|
660
661
|
}
|
|
661
|
-
final public var $isWatchPaired: Combine
|
|
662
|
+
final public var $isWatchPaired: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
662
663
|
get
|
|
663
|
-
@available(iOS 14.0, tvOS 14.0, watchOS 7.0,
|
|
664
|
+
@available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
|
|
664
665
|
set
|
|
665
666
|
}
|
|
666
|
-
@Combine
|
|
667
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isWatchAppInstalled) final public var isWatchAppInstalled: Swift::Bool {
|
|
667
668
|
get
|
|
668
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
669
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
669
670
|
set
|
|
670
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
671
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
671
672
|
_modify
|
|
672
673
|
}
|
|
673
|
-
final public var $isWatchAppInstalled: Combine
|
|
674
|
+
final public var $isWatchAppInstalled: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
674
675
|
get
|
|
675
|
-
@available(iOS 14.0, tvOS 14.0, watchOS 7.0,
|
|
676
|
+
@available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
|
|
676
677
|
set
|
|
677
678
|
}
|
|
678
|
-
@Combine
|
|
679
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isWatchReachable) final public var isWatchReachable: Swift::Bool {
|
|
679
680
|
get
|
|
680
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
681
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
681
682
|
set
|
|
682
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
683
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
683
684
|
_modify
|
|
684
685
|
}
|
|
685
|
-
final public var $isWatchReachable: Combine
|
|
686
|
+
final public var $isWatchReachable: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
686
687
|
get
|
|
687
|
-
@available(iOS 14.0, tvOS 14.0, watchOS 7.0,
|
|
688
|
+
@available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
|
|
688
689
|
set
|
|
689
690
|
}
|
|
690
|
-
@Combine
|
|
691
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isWatchAvailable) final public var isWatchAvailable: Swift::Bool {
|
|
691
692
|
get
|
|
692
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
693
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
693
694
|
set
|
|
694
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0,
|
|
695
|
+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
695
696
|
_modify
|
|
696
697
|
}
|
|
697
|
-
final public var $isWatchAvailable: Combine
|
|
698
|
+
final public var $isWatchAvailable: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
698
699
|
get
|
|
699
|
-
@available(iOS 14.0, tvOS 14.0, watchOS 7.0,
|
|
700
|
+
@available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
|
|
700
701
|
set
|
|
701
702
|
}
|
|
702
703
|
final public func checkWatchAppAvailability()
|
|
703
|
-
public typealias ObjectWillChangePublisher = Combine
|
|
704
|
+
public typealias ObjectWillChangePublisher = Combine::ObservableObjectPublisher
|
|
704
705
|
@objc deinit
|
|
705
706
|
}
|
|
706
|
-
public struct SonarFitSetResult : Swift
|
|
707
|
-
public let exercise: SonarFitCore
|
|
708
|
-
public let reps: Swift
|
|
709
|
-
public let targetReps: Swift
|
|
710
|
-
public let goal: SonarFitCore
|
|
711
|
-
public let startedAt: Foundation
|
|
712
|
-
public let duration: Foundation
|
|
713
|
-
public
|
|
714
|
-
public
|
|
715
|
-
public
|
|
716
|
-
public init(
|
|
707
|
+
public struct SonarFitSetResult : Swift::Codable, Swift::Equatable {
|
|
708
|
+
public let exercise: SonarFitCore::WorkoutType
|
|
709
|
+
public let reps: Swift::Int
|
|
710
|
+
public let targetReps: Swift::Int
|
|
711
|
+
public let goal: SonarFitCore::RepGoal
|
|
712
|
+
public let startedAt: Foundation::Date
|
|
713
|
+
public let duration: Foundation::TimeInterval
|
|
714
|
+
public let endReason: SonarFitCore::SonarFitSetEndReason
|
|
715
|
+
public let lastRepAt: Foundation::TimeInterval?
|
|
716
|
+
public let repRecords: [SonarFitCore::SonarFitRepRecord]
|
|
717
|
+
public init(exercise: SonarFitCore::WorkoutType, reps: Swift::Int, targetReps: Swift::Int, startedAt: Foundation::Date, duration: Foundation::TimeInterval, goal: SonarFitCore::RepGoal? = nil, endReason: SonarFitCore::SonarFitSetEndReason = .stopped, lastRepAt: Foundation::TimeInterval? = nil, repRecords: [SonarFitCore::SonarFitRepRecord] = [])
|
|
718
|
+
public static func == (a: SonarFitCore::SonarFitSetResult, b: SonarFitCore::SonarFitSetResult) -> Swift::Bool
|
|
719
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
720
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
717
721
|
}
|
|
718
|
-
public
|
|
722
|
+
public struct SonarFitRepRecord : Swift::Codable, Swift::Equatable {
|
|
723
|
+
public let at: Foundation::TimeInterval
|
|
724
|
+
public let confidence: Swift::Double
|
|
725
|
+
public init(at: Foundation::TimeInterval, confidence: Swift::Double)
|
|
726
|
+
public static func == (a: SonarFitCore::SonarFitRepRecord, b: SonarFitCore::SonarFitRepRecord) -> Swift::Bool
|
|
727
|
+
public func encode(to encoder: any Swift::Encoder) throws
|
|
728
|
+
public init(from decoder: any Swift::Decoder) throws
|
|
729
|
+
}
|
|
730
|
+
public enum SonarFitSetEndReason : Swift::String, Swift::Codable, Swift::Equatable {
|
|
731
|
+
case stopped
|
|
732
|
+
case rhythm
|
|
733
|
+
case posture
|
|
734
|
+
case weightsDown
|
|
735
|
+
public init?(rawValue: Swift::String)
|
|
736
|
+
public typealias RawValue = Swift::String
|
|
737
|
+
public var rawValue: Swift::String {
|
|
738
|
+
get
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
public struct SonarFitRepEvent : Swift::Equatable {
|
|
742
|
+
public enum Kind : Swift::String, Swift::Codable, Swift::Equatable {
|
|
743
|
+
case counted
|
|
744
|
+
case updated
|
|
745
|
+
case withdrawn
|
|
746
|
+
case restored
|
|
747
|
+
public init?(rawValue: Swift::String)
|
|
748
|
+
public typealias RawValue = Swift::String
|
|
749
|
+
public var rawValue: Swift::String {
|
|
750
|
+
get
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
public let kind: SonarFitCore::SonarFitRepEvent.SonarFitCore::Kind
|
|
754
|
+
public let setIndex: Swift::Int
|
|
755
|
+
public let at: Foundation::TimeInterval
|
|
756
|
+
public let confidence: Swift::Double
|
|
757
|
+
public let standing: Swift::Int
|
|
758
|
+
public init(kind: SonarFitCore::SonarFitRepEvent.SonarFitCore::Kind, setIndex: Swift::Int, at: Foundation::TimeInterval, confidence: Swift::Double, standing: Swift::Int)
|
|
759
|
+
public static func == (a: SonarFitCore::SonarFitRepEvent, b: SonarFitCore::SonarFitRepEvent) -> Swift::Bool
|
|
760
|
+
}
|
|
761
|
+
public enum SonarFitRepDetectionError : Swift::Error, Swift::Equatable, Swift::CustomStringConvertible {
|
|
719
762
|
case notInitialized
|
|
720
763
|
case hostSessionNotRunning
|
|
721
|
-
case unsupportedExercise(SonarFitCore
|
|
764
|
+
case unsupportedExercise(SonarFitCore::WorkoutType)
|
|
722
765
|
case motionUnavailable
|
|
723
766
|
case detectionAlreadyActive
|
|
724
767
|
case invalidTargetReps
|
|
725
768
|
case headlessWorkoutNotStarted
|
|
726
769
|
case wrongSessionMode
|
|
727
|
-
public var description: Swift
|
|
770
|
+
public var description: Swift::String {
|
|
728
771
|
get
|
|
729
772
|
}
|
|
730
|
-
public static func == (a: SonarFitCore
|
|
773
|
+
public static func == (a: SonarFitCore::SonarFitRepDetectionError, b: SonarFitCore::SonarFitRepDetectionError) -> Swift::Bool
|
|
731
774
|
}
|
|
732
775
|
public enum SonarFitHeadlessEvent {
|
|
733
776
|
case workoutStarted
|
|
734
|
-
case setStarted(exercise: SonarFitCore
|
|
735
|
-
case rep(count: Swift
|
|
736
|
-
case
|
|
737
|
-
case
|
|
738
|
-
case
|
|
777
|
+
case setStarted(exercise: SonarFitCore::WorkoutType, targetReps: Swift::Int, setIndex: Swift::Int)
|
|
778
|
+
case rep(count: Swift::Int, setIndex: Swift::Int)
|
|
779
|
+
case repEvent(SonarFitCore::SonarFitRepEvent)
|
|
780
|
+
case setEnded(SonarFitCore::SonarFitSetResult, setIndex: Swift::Int)
|
|
781
|
+
case setCancelled(setIndex: Swift::Int)
|
|
782
|
+
case workoutEnded(setsCounted: Swift::Int)
|
|
739
783
|
}
|
|
740
|
-
extension SonarFitCore
|
|
741
|
-
public static var watchSupported: [SonarFitCore
|
|
784
|
+
extension SonarFitCore::WorkoutType {
|
|
785
|
+
public static var watchSupported: [SonarFitCore::WorkoutType] {
|
|
742
786
|
get
|
|
743
787
|
}
|
|
744
788
|
}
|
|
745
789
|
public enum SonarFitHeadlessWire {
|
|
746
|
-
public static let workoutStarted: Swift
|
|
747
|
-
public static let setStarted: Swift
|
|
748
|
-
public static let rep: Swift
|
|
749
|
-
public static let
|
|
750
|
-
public static let
|
|
751
|
-
public static let
|
|
752
|
-
public static let
|
|
753
|
-
public static let
|
|
754
|
-
public static let
|
|
755
|
-
public static let
|
|
756
|
-
public static let
|
|
757
|
-
public static let
|
|
758
|
-
public static let
|
|
759
|
-
public static let
|
|
760
|
-
public static let
|
|
761
|
-
public static let
|
|
762
|
-
public static let
|
|
790
|
+
public static let workoutStarted: Swift::String
|
|
791
|
+
public static let setStarted: Swift::String
|
|
792
|
+
public static let rep: Swift::String
|
|
793
|
+
public static let repEvent: Swift::String
|
|
794
|
+
public static let setEnded: Swift::String
|
|
795
|
+
public static let setCancelled: Swift::String
|
|
796
|
+
public static let workoutEnded: Swift::String
|
|
797
|
+
public static let keyHeadless: Swift::String
|
|
798
|
+
public static let keyExercise: Swift::String
|
|
799
|
+
public static let keyTargetReps: Swift::String
|
|
800
|
+
public static let keyGoalMode: Swift::String
|
|
801
|
+
public static let keyGoalLo: Swift::String
|
|
802
|
+
public static let keyGoalHi: Swift::String
|
|
803
|
+
public static let keySetIndex: Swift::String
|
|
804
|
+
public static let keyReps: Swift::String
|
|
805
|
+
public static let keyCount: Swift::String
|
|
806
|
+
public static let keyDuration: Swift::String
|
|
807
|
+
public static let keyStartedAt: Swift::String
|
|
808
|
+
public static let keyKind: Swift::String
|
|
809
|
+
public static let keyAt: Swift::String
|
|
810
|
+
public static let keyConfidence: Swift::String
|
|
811
|
+
public static let keyStanding: Swift::String
|
|
812
|
+
public static let keyEndReason: Swift::String
|
|
813
|
+
public static let keyLastRepAt: Swift::String
|
|
814
|
+
public static let keyRepRecords: Swift::String
|
|
763
815
|
}
|
|
764
|
-
extension SonarFitCore
|
|
816
|
+
extension SonarFitCore::SonarFitSDK {
|
|
765
817
|
public static func _headlessWorkoutStarted()
|
|
766
|
-
public static func _headlessSetStarted(exercise: Swift
|
|
767
|
-
public static func _headlessSetEnded(exercise: Swift
|
|
768
|
-
public static func _headlessSetCancelled(setIndex: Swift
|
|
818
|
+
public static func _headlessSetStarted(exercise: Swift::String, targetReps: Swift::Int, setIndex: Swift::Int)
|
|
819
|
+
public static func _headlessSetEnded(exercise: Swift::String, reps: Swift::Int, targetReps: Swift::Int, startedAt: Foundation::Date, duration: Foundation::TimeInterval, setIndex: Swift::Int)
|
|
820
|
+
public static func _headlessSetCancelled(setIndex: Swift::Int)
|
|
769
821
|
public static func _headlessWorkoutEnded()
|
|
770
822
|
}
|
|
771
823
|
@available(iOS 17.0, watchOS 10.0, macOS 10.15, *)
|
|
772
|
-
public class SonarFitWorkout : Foundation
|
|
773
|
-
@Combine
|
|
824
|
+
public class SonarFitWorkout : Foundation::ObservableObject, SonarFitCore::WorkoutEngineDelegate {
|
|
825
|
+
@Combine::Published<SonarFitCore::WorkoutState> @_projectedValueProperty($state) public var state: SonarFitCore::WorkoutState {
|
|
774
826
|
get
|
|
775
827
|
}
|
|
776
|
-
public var $state: Combine
|
|
828
|
+
public var $state: Combine::Published<SonarFitCore::WorkoutState>.Combine::Publisher {
|
|
777
829
|
get
|
|
778
830
|
}
|
|
779
|
-
@Combine
|
|
831
|
+
@Combine::Published<Swift::Int> @_projectedValueProperty($currentSetNumber) public var currentSetNumber: Swift::Int {
|
|
780
832
|
get
|
|
781
833
|
}
|
|
782
|
-
public var $currentSetNumber: Combine
|
|
834
|
+
public var $currentSetNumber: Combine::Published<Swift::Int>.Combine::Publisher {
|
|
783
835
|
get
|
|
784
836
|
}
|
|
785
|
-
@Combine
|
|
837
|
+
@Combine::Published<Swift::Int> @_projectedValueProperty($currentSetRepsCompleted) public var currentSetRepsCompleted: Swift::Int {
|
|
786
838
|
get
|
|
787
839
|
}
|
|
788
|
-
public var $currentSetRepsCompleted: Combine
|
|
840
|
+
public var $currentSetRepsCompleted: Combine::Published<Swift::Int>.Combine::Publisher {
|
|
789
841
|
get
|
|
790
842
|
}
|
|
791
|
-
@Combine
|
|
843
|
+
@Combine::Published<Swift::Int?> @_projectedValueProperty($restTimeRemaining) public var restTimeRemaining: Swift::Int? {
|
|
792
844
|
get
|
|
793
845
|
}
|
|
794
|
-
public var $restTimeRemaining: Combine
|
|
846
|
+
public var $restTimeRemaining: Combine::Published<Swift::Int?>.Combine::Publisher {
|
|
795
847
|
get
|
|
796
848
|
}
|
|
797
|
-
@Combine
|
|
849
|
+
@Combine::Published<Swift::Int?> @_projectedValueProperty($restTimeTotal) public var restTimeTotal: Swift::Int? {
|
|
798
850
|
get
|
|
799
851
|
}
|
|
800
|
-
public var $restTimeTotal: Combine
|
|
852
|
+
public var $restTimeTotal: Combine::Published<Swift::Int?>.Combine::Publisher {
|
|
801
853
|
get
|
|
802
854
|
}
|
|
803
|
-
@Combine
|
|
855
|
+
@Combine::Published<[SonarFitCore::WorkoutSet]> @_projectedValueProperty($completedSets) public var completedSets: [SonarFitCore::WorkoutSet] {
|
|
804
856
|
get
|
|
805
857
|
}
|
|
806
|
-
public var $completedSets: Combine
|
|
858
|
+
public var $completedSets: Combine::Published<[SonarFitCore::WorkoutSet]>.Combine::Publisher {
|
|
807
859
|
get
|
|
808
860
|
}
|
|
809
|
-
@Combine
|
|
861
|
+
@Combine::Published<SonarFitCore::WorkoutResult?> @_projectedValueProperty($result) public var result: SonarFitCore::WorkoutResult? {
|
|
810
862
|
get
|
|
811
863
|
}
|
|
812
|
-
public var $result: Combine
|
|
864
|
+
public var $result: Combine::Published<SonarFitCore::WorkoutResult?>.Combine::Publisher {
|
|
813
865
|
get
|
|
814
866
|
}
|
|
815
|
-
@Combine
|
|
867
|
+
@Combine::Published<SonarFitCore::PendingSetReview?> @_projectedValueProperty($pendingSetReview) public var pendingSetReview: SonarFitCore::PendingSetReview? {
|
|
816
868
|
get
|
|
817
|
-
@available(iOS 17.0, tvOS 13.0, watchOS 10.0,
|
|
869
|
+
@available(macOS 10.15, iOS 17.0, tvOS 13.0, watchOS 10.0, *)
|
|
818
870
|
set
|
|
819
|
-
@available(iOS 17.0, tvOS 13.0, watchOS 10.0,
|
|
871
|
+
@available(macOS 10.15, iOS 17.0, tvOS 13.0, watchOS 10.0, *)
|
|
820
872
|
_modify
|
|
821
873
|
}
|
|
822
|
-
public var $pendingSetReview: Combine
|
|
874
|
+
public var $pendingSetReview: Combine::Published<SonarFitCore::PendingSetReview?>.Combine::Publisher {
|
|
823
875
|
get
|
|
824
|
-
@available(iOS 17.0, tvOS 14.0, watchOS 10.0,
|
|
876
|
+
@available(macOS 11.0, iOS 17.0, tvOS 14.0, watchOS 10.0, *)
|
|
825
877
|
set
|
|
826
878
|
}
|
|
827
|
-
@Combine
|
|
879
|
+
@Combine::Published<SonarFitCore::DeviceType> @_projectedValueProperty($deviceType) public var deviceType: SonarFitCore::DeviceType {
|
|
828
880
|
get
|
|
829
881
|
}
|
|
830
|
-
public var $deviceType: Combine
|
|
882
|
+
public var $deviceType: Combine::Published<SonarFitCore::DeviceType>.Combine::Publisher {
|
|
831
883
|
get
|
|
832
884
|
}
|
|
833
|
-
@Combine
|
|
885
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isHeadphonesConnected) public var isHeadphonesConnected: Swift::Bool {
|
|
834
886
|
get
|
|
835
887
|
}
|
|
836
|
-
public var $isHeadphonesConnected: Combine
|
|
888
|
+
public var $isHeadphonesConnected: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
837
889
|
get
|
|
838
890
|
}
|
|
839
|
-
@Combine
|
|
891
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isHeadphonesInEar) public var isHeadphonesInEar: Swift::Bool {
|
|
840
892
|
get
|
|
841
893
|
}
|
|
842
|
-
public var $isHeadphonesInEar: Combine
|
|
894
|
+
public var $isHeadphonesInEar: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
843
895
|
get
|
|
844
896
|
}
|
|
845
|
-
@Combine
|
|
897
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isWatchPaired) public var isWatchPaired: Swift::Bool {
|
|
846
898
|
get
|
|
847
899
|
}
|
|
848
|
-
public var $isWatchPaired: Combine
|
|
900
|
+
public var $isWatchPaired: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
849
901
|
get
|
|
850
902
|
}
|
|
851
|
-
@Combine
|
|
903
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isWatchAppInstalled) public var isWatchAppInstalled: Swift::Bool {
|
|
852
904
|
get
|
|
853
905
|
}
|
|
854
|
-
public var $isWatchAppInstalled: Combine
|
|
906
|
+
public var $isWatchAppInstalled: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
855
907
|
get
|
|
856
908
|
}
|
|
857
|
-
@Combine
|
|
909
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isWatchReachable) public var isWatchReachable: Swift::Bool {
|
|
858
910
|
get
|
|
859
911
|
}
|
|
860
|
-
public var $isWatchReachable: Combine
|
|
912
|
+
public var $isWatchReachable: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
861
913
|
get
|
|
862
914
|
}
|
|
863
|
-
@Combine
|
|
915
|
+
@Combine::Published<Swift::Bool> @_projectedValueProperty($isLaunchingWatch) public var isLaunchingWatch: Swift::Bool {
|
|
864
916
|
get
|
|
865
|
-
@available(iOS 17.0, tvOS 13.0, watchOS 10.0,
|
|
917
|
+
@available(macOS 10.15, iOS 17.0, tvOS 13.0, watchOS 10.0, *)
|
|
866
918
|
set
|
|
867
|
-
@available(iOS 17.0, tvOS 13.0, watchOS 10.0,
|
|
919
|
+
@available(macOS 10.15, iOS 17.0, tvOS 13.0, watchOS 10.0, *)
|
|
868
920
|
_modify
|
|
869
921
|
}
|
|
870
|
-
public var $isLaunchingWatch: Combine
|
|
922
|
+
public var $isLaunchingWatch: Combine::Published<Swift::Bool>.Combine::Publisher {
|
|
871
923
|
get
|
|
872
|
-
@available(iOS 17.0, tvOS 14.0, watchOS 10.0,
|
|
924
|
+
@available(macOS 11.0, iOS 17.0, tvOS 14.0, watchOS 10.0, *)
|
|
873
925
|
set
|
|
874
926
|
}
|
|
875
|
-
@Combine
|
|
927
|
+
@Combine::Published<(any Swift::Error)?> @_projectedValueProperty($watchLaunchError) public var watchLaunchError: (any Swift::Error)? {
|
|
876
928
|
get
|
|
877
|
-
@available(iOS 17.0, tvOS 13.0, watchOS 10.0,
|
|
929
|
+
@available(macOS 10.15, iOS 17.0, tvOS 13.0, watchOS 10.0, *)
|
|
878
930
|
set
|
|
879
|
-
@available(iOS 17.0, tvOS 13.0, watchOS 10.0,
|
|
931
|
+
@available(macOS 10.15, iOS 17.0, tvOS 13.0, watchOS 10.0, *)
|
|
880
932
|
_modify
|
|
881
933
|
}
|
|
882
|
-
public var $watchLaunchError: Combine
|
|
934
|
+
public var $watchLaunchError: Combine::Published<(any Swift::Error)?>.Combine::Publisher {
|
|
883
935
|
get
|
|
884
|
-
@available(iOS 17.0, tvOS 14.0, watchOS 10.0,
|
|
936
|
+
@available(macOS 11.0, iOS 17.0, tvOS 14.0, watchOS 10.0, *)
|
|
885
937
|
set
|
|
886
938
|
}
|
|
887
|
-
final public let config: SonarFitCore
|
|
888
|
-
public var onDeviceChange: ((SonarFitCore
|
|
889
|
-
public var onSendWatchMessage: (([Swift
|
|
890
|
-
public init(config: SonarFitCore
|
|
939
|
+
final public let config: SonarFitCore::WorkoutConfig
|
|
940
|
+
public var onDeviceChange: ((SonarFitCore::DeviceType) -> Swift::Void)?
|
|
941
|
+
public var onSendWatchMessage: (([Swift::String : Any]) -> Swift::Void)?
|
|
942
|
+
public init(config: SonarFitCore::WorkoutConfig, engine: SonarFitCore::WorkoutEngine)
|
|
891
943
|
public func start()
|
|
892
944
|
public func pause()
|
|
893
945
|
public func resume()
|
|
@@ -896,131 +948,138 @@ public class SonarFitWorkout : Foundation.ObservableObject, SonarFitCore.Workout
|
|
|
896
948
|
public func incrementRep()
|
|
897
949
|
public func endSetEarly()
|
|
898
950
|
public func decrementRep()
|
|
899
|
-
public func extendRest(by seconds: Swift
|
|
900
|
-
public func setRestDuration(_ seconds: Swift
|
|
901
|
-
public func updateDevice(_ deviceType: SonarFitCore
|
|
951
|
+
public func extendRest(by seconds: Swift::Int)
|
|
952
|
+
public func setRestDuration(_ seconds: Swift::Int)
|
|
953
|
+
public func updateDevice(_ deviceType: SonarFitCore::DeviceType)
|
|
902
954
|
@discardableResult
|
|
903
|
-
public func finish(save: Swift
|
|
904
|
-
public var isActive: Swift
|
|
955
|
+
public func finish(save: Swift::Bool = true) -> SonarFitCore::WorkoutResult
|
|
956
|
+
public var isActive: Swift::Bool {
|
|
905
957
|
get
|
|
906
958
|
}
|
|
907
|
-
public var isResting: Swift
|
|
959
|
+
public var isResting: Swift::Bool {
|
|
908
960
|
get
|
|
909
961
|
}
|
|
910
|
-
public var isPaused: Swift
|
|
962
|
+
public var isPaused: Swift::Bool {
|
|
911
963
|
get
|
|
912
964
|
}
|
|
913
|
-
public var isCompleted: Swift
|
|
965
|
+
public var isCompleted: Swift::Bool {
|
|
914
966
|
get
|
|
915
967
|
}
|
|
916
|
-
public var currentSetProgress: Swift
|
|
968
|
+
public var currentSetProgress: Swift::Double {
|
|
917
969
|
get
|
|
918
970
|
}
|
|
919
|
-
public var overallProgress: Swift
|
|
971
|
+
public var overallProgress: Swift::Double {
|
|
920
972
|
get
|
|
921
973
|
}
|
|
922
|
-
public var remainingSets: Swift
|
|
974
|
+
public var remainingSets: Swift::Int {
|
|
923
975
|
get
|
|
924
976
|
}
|
|
925
|
-
public var canStart: Swift
|
|
977
|
+
public var canStart: Swift::Bool {
|
|
926
978
|
get
|
|
927
979
|
}
|
|
928
|
-
public var startBlockedReason: Swift
|
|
980
|
+
public var startBlockedReason: Swift::String? {
|
|
929
981
|
get
|
|
930
982
|
}
|
|
931
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
932
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
933
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
934
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
935
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
936
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
937
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
938
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
939
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
940
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
941
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
942
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
943
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
944
|
-
public func workoutEngine(_ engine: SonarFitCore
|
|
945
|
-
@available(iOS 17.0, watchOS 10.0,
|
|
946
|
-
public typealias ObjectWillChangePublisher = Combine
|
|
983
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateSession session: SonarFitCore::WorkoutSession)
|
|
984
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCompleteRep rep: Swift::Int, inSet set: Swift::Int)
|
|
985
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCompleteSet set: Swift::Int)
|
|
986
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, setReadyForReview setIndex: Swift::Int, liveRepCount: Swift::Int, deadline: Foundation::Date)
|
|
987
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, setReviewResolved setIndex: Swift::Int)
|
|
988
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didStartRest duration: Swift::Int)
|
|
989
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateRestTime remaining: Swift::Int)
|
|
990
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didEndRest isAutomatic: Swift::Bool)
|
|
991
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCompleteWorkout result: SonarFitCore::WorkoutResult)
|
|
992
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didCancelWorkout result: SonarFitCore::WorkoutResult?)
|
|
993
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didEncounterMotionPermissionError error: any Swift::Error)
|
|
994
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, didUpdateDeviceStatus status: Swift::String)
|
|
995
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldSendWatchMessage message: Any)
|
|
996
|
+
public func workoutEngine(_ engine: SonarFitCore::WorkoutEngine, shouldEndWatchWorkout result: SonarFitCore::WorkoutResult?)
|
|
997
|
+
@available(macOS 10.15, iOS 17.0, watchOS 10.0, *)
|
|
998
|
+
public typealias ObjectWillChangePublisher = Combine::ObservableObjectPublisher
|
|
947
999
|
@objc deinit
|
|
948
1000
|
}
|
|
949
|
-
public struct PendingSetReview : Swift
|
|
950
|
-
public let setIndex: Swift
|
|
951
|
-
public let liveRepCount: Swift
|
|
952
|
-
public let presentedAt: Foundation
|
|
953
|
-
public let deadline: Foundation
|
|
954
|
-
public init(setIndex: Swift
|
|
955
|
-
public static func == (a: SonarFitCore
|
|
1001
|
+
public struct PendingSetReview : Swift::Equatable {
|
|
1002
|
+
public let setIndex: Swift::Int
|
|
1003
|
+
public let liveRepCount: Swift::Int
|
|
1004
|
+
public let presentedAt: Foundation::Date
|
|
1005
|
+
public let deadline: Foundation::Date?
|
|
1006
|
+
public init(setIndex: Swift::Int, liveRepCount: Swift::Int, presentedAt: Foundation::Date, deadline: Foundation::Date?)
|
|
1007
|
+
public static func == (a: SonarFitCore::PendingSetReview, b: SonarFitCore::PendingSetReview) -> Swift::Bool
|
|
956
1008
|
}
|
|
957
1009
|
@_hasMissingDesignatedInitializers final public class SonarFitSDK {
|
|
958
|
-
public static var themeManager: SonarFitCore
|
|
959
|
-
public static func initialize(apiKey: Swift
|
|
960
|
-
public static func initialize(apiKey: Swift
|
|
961
|
-
public static var watchSessionOwnership: SonarFitCore
|
|
1010
|
+
public static var themeManager: SonarFitCore::ThemeManager
|
|
1011
|
+
public static func initialize(apiKey: Swift::String, completion: @escaping (Swift::Bool, (any Swift::Error)?) -> Swift::Void)
|
|
1012
|
+
public static func initialize(apiKey: Swift::String, watchSessionOwnership: SonarFitCore::SonarFitWatchSessionOwnership, completion: @escaping (Swift::Bool, (any Swift::Error)?) -> Swift::Void)
|
|
1013
|
+
public static var watchSessionOwnership: SonarFitCore::SonarFitWatchSessionOwnership {
|
|
962
1014
|
get
|
|
963
1015
|
}
|
|
964
|
-
public static var logLevel: SonarFitCore
|
|
1016
|
+
public static var logLevel: SonarFitCore::SonarFitLogLevel {
|
|
965
1017
|
get
|
|
966
1018
|
set
|
|
967
1019
|
}
|
|
968
1020
|
@available(*, deprecated, message: "Use logLevel instead for more granular control")
|
|
969
|
-
public static var enableDebugLogging: Swift
|
|
1021
|
+
public static var enableDebugLogging: Swift::Bool {
|
|
970
1022
|
get
|
|
971
1023
|
set
|
|
972
1024
|
}
|
|
973
|
-
public static let version: Swift
|
|
974
|
-
public static let buildNumber: Swift
|
|
975
|
-
public static var sdkInfo: Swift
|
|
1025
|
+
public static let version: Swift::String
|
|
1026
|
+
public static let buildNumber: Swift::String
|
|
1027
|
+
public static var sdkInfo: Swift::String {
|
|
976
1028
|
get
|
|
977
1029
|
}
|
|
978
1030
|
@objc deinit
|
|
979
1031
|
}
|
|
980
|
-
extension SonarFitCore
|
|
981
|
-
public static func configure(logLevel: SonarFitCore
|
|
1032
|
+
extension SonarFitCore::SonarFitSDK {
|
|
1033
|
+
public static func configure(logLevel: SonarFitCore::SonarFitLogLevel = .standard)
|
|
982
1034
|
@available(*, deprecated, message: "Use configure(logLevel:) instead")
|
|
983
|
-
public static func configure(debugMode: Swift
|
|
984
|
-
public static func configure(theme: SonarFitCore
|
|
1035
|
+
public static func configure(debugMode: Swift::Bool = false)
|
|
1036
|
+
public static func configure(theme: SonarFitCore::SonarFitTheme, logLevel: SonarFitCore::SonarFitLogLevel = .standard)
|
|
985
1037
|
@available(*, deprecated, message: "Use configure(theme:logLevel:) instead")
|
|
986
|
-
public static func configure(theme: SonarFitCore
|
|
987
|
-
public static func updateTheme(_ theme: SonarFitCore
|
|
988
|
-
public static var isFeedbackSheetEnabled: Swift
|
|
1038
|
+
public static func configure(theme: SonarFitCore::SonarFitTheme, debugMode: Swift::Bool = false)
|
|
1039
|
+
public static func updateTheme(_ theme: SonarFitCore::SonarFitTheme)
|
|
1040
|
+
public static var isFeedbackSheetEnabled: Swift::Bool {
|
|
1041
|
+
get
|
|
1042
|
+
}
|
|
1043
|
+
public static func recordSetReview(setIndex: Swift::Int, verdict: SonarFitCore::SetReviewVerdict)
|
|
1044
|
+
public static func discardSet(setIndex: Swift::Int)
|
|
1045
|
+
public static var _resolvedRawDataCollection: Swift::Bool? {
|
|
989
1046
|
get
|
|
990
1047
|
}
|
|
991
|
-
public static func
|
|
992
|
-
public static func discardSet(setIndex: Swift.Int)
|
|
993
|
-
public static func _deliverWatchSetCSV(setIndex: Swift.Int, csvData: Foundation.Data, restVerdictToken: Swift.String = "quiet", restExtraReps: Swift.Int = 0, exercise: Swift.String? = nil, reps: Swift.Int = -1)
|
|
1048
|
+
public static func _deliverWatchSetCSV(setIndex: Swift::Int, csvData: Foundation::Data, restVerdictToken: Swift::String = "quiet", restExtraReps: Swift::Int = 0, exercise: Swift::String? = nil, reps: Swift::Int = -1)
|
|
994
1049
|
}
|
|
995
1050
|
public enum SetReviewVerdict {
|
|
996
1051
|
case accurate
|
|
997
1052
|
case inaccurate
|
|
998
|
-
case actual(reps: Swift
|
|
1053
|
+
case actual(reps: Swift::Int)
|
|
999
1054
|
case dismissed
|
|
1000
1055
|
}
|
|
1001
|
-
extension SonarFitCore
|
|
1002
|
-
extension SonarFitCore
|
|
1003
|
-
extension SonarFitCore
|
|
1004
|
-
extension SonarFitCore
|
|
1005
|
-
extension SonarFitCore
|
|
1006
|
-
extension SonarFitCore
|
|
1007
|
-
extension SonarFitCore
|
|
1008
|
-
extension SonarFitCore
|
|
1009
|
-
extension SonarFitCore
|
|
1010
|
-
extension SonarFitCore
|
|
1011
|
-
extension SonarFitCore
|
|
1012
|
-
extension SonarFitCore
|
|
1013
|
-
extension SonarFitCore
|
|
1014
|
-
extension SonarFitCore
|
|
1015
|
-
extension SonarFitCore
|
|
1016
|
-
extension SonarFitCore
|
|
1017
|
-
extension SonarFitCore
|
|
1018
|
-
extension SonarFitCore
|
|
1019
|
-
extension SonarFitCore
|
|
1020
|
-
extension SonarFitCore
|
|
1021
|
-
extension SonarFitCore
|
|
1022
|
-
extension SonarFitCore
|
|
1023
|
-
extension SonarFitCore
|
|
1024
|
-
extension SonarFitCore
|
|
1025
|
-
extension SonarFitCore
|
|
1026
|
-
extension SonarFitCore
|
|
1056
|
+
extension SonarFitCore::SonarFitConfigError : Swift::Equatable {}
|
|
1057
|
+
extension SonarFitCore::SonarFitConfigError : Swift::Hashable {}
|
|
1058
|
+
extension SonarFitCore::SDKError : Swift::Equatable {}
|
|
1059
|
+
extension SonarFitCore::SDKError : Swift::Hashable {}
|
|
1060
|
+
extension SonarFitCore::RawSetRecorder.SonarFitCore::Schema : Swift::Equatable {}
|
|
1061
|
+
extension SonarFitCore::RawSetRecorder.SonarFitCore::Schema : Swift::Hashable {}
|
|
1062
|
+
extension SonarFitCore::RawSetRecorder.SonarFitCore::Schema : Swift::RawRepresentable {}
|
|
1063
|
+
extension SonarFitCore::SonarFitWatchSessionOwnership : Swift::Equatable {}
|
|
1064
|
+
extension SonarFitCore::SonarFitWatchSessionOwnership : Swift::Hashable {}
|
|
1065
|
+
extension SonarFitCore::SonarFitWatchSessionOwnership : Swift::RawRepresentable {}
|
|
1066
|
+
extension SonarFitCore::WorkoutType : Swift::Equatable {}
|
|
1067
|
+
extension SonarFitCore::WorkoutType : Swift::Hashable {}
|
|
1068
|
+
extension SonarFitCore::WorkoutType : Swift::RawRepresentable {}
|
|
1069
|
+
extension SonarFitCore::MuscleGroup : Swift::Equatable {}
|
|
1070
|
+
extension SonarFitCore::MuscleGroup : Swift::Hashable {}
|
|
1071
|
+
extension SonarFitCore::MuscleGroup : Swift::RawRepresentable {}
|
|
1072
|
+
extension SonarFitCore::ExerciseCategory : Swift::Equatable {}
|
|
1073
|
+
extension SonarFitCore::ExerciseCategory : Swift::Hashable {}
|
|
1074
|
+
extension SonarFitCore::ExerciseCategory : Swift::RawRepresentable {}
|
|
1075
|
+
extension SonarFitCore::DeviceType : Swift::Equatable {}
|
|
1076
|
+
extension SonarFitCore::DeviceType : Swift::Hashable {}
|
|
1077
|
+
extension SonarFitCore::DeviceType : Swift::RawRepresentable {}
|
|
1078
|
+
extension SonarFitCore::WorkoutStatus : Swift::Equatable {}
|
|
1079
|
+
extension SonarFitCore::WorkoutStatus : Swift::Hashable {}
|
|
1080
|
+
extension SonarFitCore::SonarFitLogLevel : Swift::Hashable {}
|
|
1081
|
+
extension SonarFitCore::SonarFitLogLevel : Swift::RawRepresentable {}
|
|
1082
|
+
extension SonarFitCore::SonarFitSetEndReason : Swift::Hashable {}
|
|
1083
|
+
extension SonarFitCore::SonarFitSetEndReason : Swift::RawRepresentable {}
|
|
1084
|
+
extension SonarFitCore::SonarFitRepEvent.SonarFitCore::Kind : Swift::Hashable {}
|
|
1085
|
+
extension SonarFitCore::SonarFitRepEvent.SonarFitCore::Kind : Swift::RawRepresentable {}
|