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