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