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