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