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