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