spotny-sdk 1.0.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/LICENSE +20 -0
- package/README.md +589 -0
- package/SpotnySdk.podspec +35 -0
- package/android/build.gradle +70 -0
- package/android/src/main/AndroidManifest.xml +33 -0
- package/android/src/main/java/com/spotnysdk/SpotnySdkModule.kt +685 -0
- package/android/src/main/java/com/spotnysdk/SpotnySdkPackage.kt +31 -0
- package/ios/Frameworks/CBORCoding.xcframework/Info.plist +44 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/CBORCoding +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Headers/CBORCoding-Swift.h +317 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Info.plist +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios.abi.json +7021 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios.private.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64/CBORCoding.framework/Modules/module.modulemap +4 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/CBORCoding +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Headers/CBORCoding-Swift.h +630 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Info.plist +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios-simulator.abi.json +7021 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/arm64-apple-ios-simulator.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/x86_64-apple-ios-simulator.abi.json +7021 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/CBORCoding.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +193 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/Modules/module.modulemap +4 -0
- package/ios/Frameworks/CBORCoding.xcframework/ios-arm64_x86_64-simulator/CBORCoding.framework/_CodeSignature/CodeResources +267 -0
- package/ios/Frameworks/Half.xcframework/Info.plist +44 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Half +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Headers/Half-Swift.h +317 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Headers/half.h +95 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Info.plist +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios.abi.json +4942 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios.private.swiftinterface +650 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios.swiftinterface +650 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64/Half.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Half +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Headers/Half-Swift.h +630 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Headers/half.h +95 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Info.plist +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios-simulator.abi.json +4942 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +650 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/arm64-apple-ios-simulator.swiftinterface +650 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/x86_64-apple-ios-simulator.abi.json +4973 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +660 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/Half.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +660 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/Half.xcframework/ios-arm64_x86_64-simulator/Half.framework/_CodeSignature/CodeResources +245 -0
- package/ios/Frameworks/KontaktSDK.xcframework/Info.plist +44 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Base.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/CLBeacon+Kontakt.h +37 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKAction.h +90 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKActionContent.h +80 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKBeaconManager.h +326 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKBeaconRegion.h +102 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudClient.h +241 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudClientJSONResponseSerializer.h +20 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudClientResponseSerializer.h +35 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudClientSessionManager.h +207 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudDefinitions.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKCloudModel.h +36 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDevice.h +179 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceCCOperationDelegate.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceConfiguration.h +329 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceConfigurationGPIO.h +24 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceConnection.h +379 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceConnectionOperation.h +65 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceDataLoggerConnection.h +56 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceDataLoggerReading.h +49 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceDefinitions.h +853 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGATTDefinitions.h +106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGATTOperation.h +68 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGatewayConfigurationType.h +43 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGatewayConnection.h +101 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGatewayDiagnostic.h +61 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceGatewayWiFiNetwork.h +76 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceKontaktRecognitionBox.h +26 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceListenOperation.h +20 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceNotifyOperation.h +34 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDevicePowerSaving.h +86 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDeviceWriteOperation.h +51 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKDevicesManager.h +182 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystone.h +101 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneFrame.h +47 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneManager.h +160 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneRegion.h +85 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneTLM.h +49 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneUID.h +55 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneURL.h +33 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKEddystoneURLValueTransformer.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKFirmware.h +98 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKGroupOperation.h +100 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKKontaktResponse.h +85 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKManager.h +121 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKNearbyDevice.h +135 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKNearbyDeviceTelemetry.h +513 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKOperation.h +116 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKPersonPosition.h +22 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKSecureBeaconRegion.h +86 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKSecureEddystoneRegion.h +59 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKTrigger.h +94 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKTriggerContext.h +79 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KTKVenue.h +105 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/Kontakt.h +187 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KontaktSDK-Swift.h +668 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/KontaktSDK.h +43 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/NSData+Kontakt.h +115 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/NSError+Kontakt.h +26 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/NSString+Kontakt.h +25 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Headers/NSURLRequest+Kontakt.h +44 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Info.plist +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/KontaktSDK +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios.abi.json +14106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/strip-frameworks.sh +72 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Base.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/CLBeacon+Kontakt.h +37 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKAction.h +90 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKActionContent.h +80 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKBeaconManager.h +326 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKBeaconRegion.h +102 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudClient.h +241 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudClientJSONResponseSerializer.h +20 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudClientResponseSerializer.h +35 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudClientSessionManager.h +207 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudDefinitions.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKCloudModel.h +36 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDevice.h +179 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceCCOperationDelegate.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceConfiguration.h +329 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceConfigurationGPIO.h +24 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceConnection.h +379 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceConnectionOperation.h +65 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceDataLoggerConnection.h +56 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceDataLoggerReading.h +49 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceDefinitions.h +853 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGATTDefinitions.h +106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGATTOperation.h +68 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGatewayConfigurationType.h +43 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGatewayConnection.h +101 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGatewayDiagnostic.h +61 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceGatewayWiFiNetwork.h +76 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceKontaktRecognitionBox.h +26 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceListenOperation.h +20 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceNotifyOperation.h +34 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDevicePowerSaving.h +86 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDeviceWriteOperation.h +51 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKDevicesManager.h +182 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystone.h +101 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneFrame.h +47 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneManager.h +160 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneRegion.h +85 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneTLM.h +49 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneUID.h +55 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneURL.h +33 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKEddystoneURLValueTransformer.h +13 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKFirmware.h +98 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKGroupOperation.h +100 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKKontaktResponse.h +85 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKManager.h +121 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKNearbyDevice.h +135 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKNearbyDeviceTelemetry.h +513 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKOperation.h +116 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKPersonPosition.h +22 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKSecureBeaconRegion.h +86 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKSecureEddystoneRegion.h +59 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKTrigger.h +94 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKTriggerContext.h +79 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KTKVenue.h +105 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/Kontakt.h +187 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KontaktSDK-Swift.h +1332 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/KontaktSDK.h +43 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/NSData+Kontakt.h +115 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/NSError+Kontakt.h +26 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/NSString+Kontakt.h +25 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Headers/NSURLRequest+Kontakt.h +44 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Info.plist +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/KontaktSDK +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +14106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +14106 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/KontaktSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +428 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/_CodeSignature/CodeResources +894 -0
- package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64_x86_64-simulator/KontaktSDK.framework/strip-frameworks.sh +72 -0
- package/ios/SpotnyBeaconScanner.swift +938 -0
- package/ios/SpotnySdk.h +10 -0
- package/ios/SpotnySdk.mm +127 -0
- package/lib/module/NativeSpotnySdk.js +5 -0
- package/lib/module/NativeSpotnySdk.js.map +1 -0
- package/lib/module/index.js +96 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/NativeSpotnySdk.d.ts +18 -0
- package/lib/typescript/src/NativeSpotnySdk.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +81 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/package.json +169 -0
- package/src/NativeSpotnySdk.ts +29 -0
- package/src/index.tsx +151 -0
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name KontaktSDK
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
|
|
5
|
+
import CBORCoding
|
|
6
|
+
import Foundation
|
|
7
|
+
@_exported import KontaktSDK
|
|
8
|
+
import Swift
|
|
9
|
+
import _Concurrency
|
|
10
|
+
import _StringProcessing
|
|
11
|
+
import _SwiftConcurrencyShims
|
|
12
|
+
@objc final public class DeviceCCStorageReadRequest : ObjectiveC.NSObject, Swift.Encodable {
|
|
13
|
+
@objc public init(messageId: Swift.UInt16, requestId: Swift.UInt16, readFrom: Swift.UInt64, readTo: Swift.UInt64, token: Swift.Int, maxSize: Swift.Int)
|
|
14
|
+
@objc convenience public init(messageId: Swift.UInt16, readFrom: Swift.UInt64, readTo: Swift.UInt64)
|
|
15
|
+
@objc convenience public init(messageId: Swift.UInt16, readFrom: Swift.UInt64, readTo: Swift.UInt64, token: Swift.Int)
|
|
16
|
+
@objc deinit
|
|
17
|
+
final public func encode(to encoder: any Swift.Encoder) throws
|
|
18
|
+
}
|
|
19
|
+
@objc public class KTKTelemetryEvent : ObjectiveC.NSObject, Swift.Codable {
|
|
20
|
+
@objc final public let deviceAddress: Swift.String
|
|
21
|
+
@objc final public let rssi: Swift.Int
|
|
22
|
+
@objc final public let data: Foundation.Data
|
|
23
|
+
@objc public init(deviceAddress: Swift.String, rssi: Swift.Int, data: Foundation.Data)
|
|
24
|
+
@objc deinit
|
|
25
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
26
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
27
|
+
}
|
|
28
|
+
@objc public class KTKTelemetryEventPacket : ObjectiveC.NSObject, Swift.Codable {
|
|
29
|
+
@objc final public let version: Swift.Int
|
|
30
|
+
@objc final public let sourceId: Swift.String
|
|
31
|
+
@objc final public let sourceType: Swift.String
|
|
32
|
+
@objc final public let events: [KontaktSDK.KTKTelemetryEvent]
|
|
33
|
+
@objc public init(version: Swift.Int, sourceId: Swift.String, sourceType: Swift.String, events: [KontaktSDK.KTKTelemetryEvent])
|
|
34
|
+
@objc deinit
|
|
35
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
36
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
37
|
+
}
|
|
38
|
+
@objc extension KontaktSDK.KTKCloudClient {
|
|
39
|
+
@objc dynamic public func collectTelemetry(_ packet: KontaktSDK.KTKTelemetryEventPacket)
|
|
40
|
+
}
|
|
41
|
+
@objc extension Foundation.NSString {
|
|
42
|
+
@objc public enum VersionOperator : Swift.Int {
|
|
43
|
+
case greaterThan
|
|
44
|
+
case lessThan
|
|
45
|
+
case greaterThanOrEqualTo
|
|
46
|
+
case lessThanOrEqualTo
|
|
47
|
+
case equalTo
|
|
48
|
+
case notEqualTo
|
|
49
|
+
public init?(rawValue: Swift.Int)
|
|
50
|
+
public typealias RawValue = Swift.Int
|
|
51
|
+
public var rawValue: Swift.Int {
|
|
52
|
+
get
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
@objc dynamic public func compareVersion(_ otherVersion: Foundation.NSString, operator: Foundation.NSString.VersionOperator) -> Swift.Bool
|
|
56
|
+
}
|
|
57
|
+
@objc final public class DeviceCCSlotStateResponse : ObjectiveC.NSObject, Swift.Decodable {
|
|
58
|
+
@objc final public class Slots : ObjectiveC.NSObject, Swift.Decodable {
|
|
59
|
+
@objc final public let one: KontaktSDK.DeviceCCSlotStateResponse.SlotState?
|
|
60
|
+
@objc final public let two: KontaktSDK.DeviceCCSlotStateResponse.SlotState?
|
|
61
|
+
@objc deinit
|
|
62
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
63
|
+
}
|
|
64
|
+
@objc final public let requestId: Swift.UInt16
|
|
65
|
+
@objc final public let timestampMilliseconds: Swift.UInt64
|
|
66
|
+
@objc final public let returnCode: Swift.Int32
|
|
67
|
+
@objc final public let slots: KontaktSDK.DeviceCCSlotStateResponse.Slots
|
|
68
|
+
@objc deinit
|
|
69
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
70
|
+
}
|
|
71
|
+
extension KontaktSDK.DeviceCCSlotStateResponse {
|
|
72
|
+
@objc final public class SlotState : ObjectiveC.NSObject, Swift.Decodable {
|
|
73
|
+
@objc public enum SlotDetection : Swift.Int, Swift.Decodable {
|
|
74
|
+
case empty = 0
|
|
75
|
+
case digital
|
|
76
|
+
case analog
|
|
77
|
+
public init?(rawValue: Swift.Int)
|
|
78
|
+
public typealias RawValue = Swift.Int
|
|
79
|
+
public var rawValue: Swift.Int {
|
|
80
|
+
get
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
@objc final public let detection: KontaktSDK.DeviceCCSlotStateResponse.SlotState.SlotDetection
|
|
84
|
+
@objc final public let error: KontaktSDK.KTKSensorStateError
|
|
85
|
+
@objc final public let value: Foundation.NSNumber?
|
|
86
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
87
|
+
@objc deinit
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
extension KontaktSDK.KTKSensorStateError : Swift.Decodable {
|
|
91
|
+
}
|
|
92
|
+
@objc final public class DeviceCCLogEvent : ObjectiveC.NSObject, Swift.Decodable {
|
|
93
|
+
@objc public enum LogLevel : Swift.UInt8, Swift.Decodable, Swift.CustomStringConvertible {
|
|
94
|
+
case debug = 0
|
|
95
|
+
case info = 1
|
|
96
|
+
case notice = 2
|
|
97
|
+
case warning = 3
|
|
98
|
+
case error = 4
|
|
99
|
+
public var description: Swift.String {
|
|
100
|
+
get
|
|
101
|
+
}
|
|
102
|
+
public init?(rawValue: Swift.UInt8)
|
|
103
|
+
public typealias RawValue = Swift.UInt8
|
|
104
|
+
public var rawValue: Swift.UInt8 {
|
|
105
|
+
get
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
@objc final public let timestampMicroseconds: Swift.UInt64
|
|
109
|
+
@objc final public let message: Swift.String
|
|
110
|
+
@objc final public let level: KontaktSDK.DeviceCCLogEvent.LogLevel
|
|
111
|
+
@objc final public var levelDescription: Swift.String {
|
|
112
|
+
@objc get
|
|
113
|
+
}
|
|
114
|
+
@objc deinit
|
|
115
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
116
|
+
}
|
|
117
|
+
@objc final public class DeviceCCStorageReadResponse : ObjectiveC.NSObject, Swift.Decodable {
|
|
118
|
+
@objc final public let requestId: Swift.UInt16
|
|
119
|
+
@objc final public let rawData: Foundation.Data?
|
|
120
|
+
@objc final public let returnCode: Swift.Int32
|
|
121
|
+
@objc final public let readFrom: Swift.UInt64
|
|
122
|
+
@objc final public let readTo: Swift.UInt64
|
|
123
|
+
@objc final public let dataReadTo: Swift.UInt64
|
|
124
|
+
@objc final public let token: Swift.Int
|
|
125
|
+
@objc final public let dataFormat: [KontaktSDK.DeviceCCStorageReadResponse.ElementFormat]?
|
|
126
|
+
@objc final public let rawDataFormat: Foundation.Data?
|
|
127
|
+
@objc final public var isFinalResponse: Swift.Bool {
|
|
128
|
+
@objc get
|
|
129
|
+
}
|
|
130
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
131
|
+
@objc deinit
|
|
132
|
+
}
|
|
133
|
+
extension KontaktSDK.DeviceCCStorageReadResponse {
|
|
134
|
+
@objc final public class ElementFormat : ObjectiveC.NSObject {
|
|
135
|
+
@objc public enum ElementId : Swift.Int {
|
|
136
|
+
case invalid = -1
|
|
137
|
+
case timestamp = 0
|
|
138
|
+
case temperatureSensor0 = 1
|
|
139
|
+
case temperatureSensor1 = 2
|
|
140
|
+
case temperatureSensor2 = 3
|
|
141
|
+
case humidity0 = 4
|
|
142
|
+
case pressure = 5
|
|
143
|
+
case doorSensor = 6
|
|
144
|
+
case sensorOobAlarms = 9
|
|
145
|
+
case sensorErrAlarms = 10
|
|
146
|
+
case errors = 11
|
|
147
|
+
case checksum = 12
|
|
148
|
+
case monitorState = 13
|
|
149
|
+
public init?(rawValue: Swift.Int)
|
|
150
|
+
public typealias RawValue = Swift.Int
|
|
151
|
+
public var rawValue: Swift.Int {
|
|
152
|
+
get
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
@objc public enum EncodingId : Swift.Int {
|
|
156
|
+
case invalid = -1
|
|
157
|
+
case u32 = 0
|
|
158
|
+
case u16
|
|
159
|
+
case u8
|
|
160
|
+
case q9_7
|
|
161
|
+
public init?(rawValue: Swift.Int)
|
|
162
|
+
public typealias RawValue = Swift.Int
|
|
163
|
+
public var rawValue: Swift.Int {
|
|
164
|
+
get
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
@objc final public let elementId: KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.ElementId
|
|
168
|
+
@objc final public let encodingId: KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.EncodingId
|
|
169
|
+
@objc final public let rawDataFormat: Foundation.Data
|
|
170
|
+
@objc public init(elementId: KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.ElementId, encodingId: KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.EncodingId, rawDataFormat: Foundation.Data)
|
|
171
|
+
@objc convenience public init(elementIdRaw: Swift.Int, encodingIdRaw: Swift.Int, rawDataFormat: Foundation.Data)
|
|
172
|
+
@objc deinit
|
|
173
|
+
}
|
|
174
|
+
@_hasMissingDesignatedInitializers @objc final public class ElementData : ObjectiveC.NSObject {
|
|
175
|
+
@objc final public let format: KontaktSDK.DeviceCCStorageReadResponse.ElementFormat
|
|
176
|
+
@objc final public let value: Foundation.NSNumber
|
|
177
|
+
@objc override final public var debugDescription: Swift.String {
|
|
178
|
+
@objc get
|
|
179
|
+
}
|
|
180
|
+
@objc deinit
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
@_inheritsConvenienceInitializers @objc final public class DeviceCCDataCoder : ObjectiveC.NSObject {
|
|
184
|
+
@objc public static func encode(request: KontaktSDK.DeviceCCRequest) throws -> Foundation.Data
|
|
185
|
+
@objc(encodeWithStorageReadRequest:error:) public static func encode(request: KontaktSDK.DeviceCCStorageReadRequest) throws -> Foundation.Data
|
|
186
|
+
@objc public static func decodeGenericResponse(_ responseData: Foundation.Data) throws -> KontaktSDK.DeviceCCGenericResponse
|
|
187
|
+
@objc public static func decodeLogsEvent(_ responseData: Foundation.Data) throws -> KontaktSDK.DeviceCCLogEvent
|
|
188
|
+
@objc public static func decodeSlotStateResponse(_ responseData: Foundation.Data) throws -> KontaktSDK.DeviceCCSlotStateResponse
|
|
189
|
+
@objc public static func decodeStorageDataReadResponse(_ responseData: Foundation.Data) throws -> KontaktSDK.DeviceCCStorageReadResponse
|
|
190
|
+
@objc override dynamic public init()
|
|
191
|
+
@objc deinit
|
|
192
|
+
}
|
|
193
|
+
@objc(KTKDeviceProlongableOperation) public protocol DeviceProlongableOperation {
|
|
194
|
+
@objc func makeProlongOperation() -> KontaktSDK.KTKDeviceGATTOperation
|
|
195
|
+
}
|
|
196
|
+
public struct FirmwareVersion : Swift.Comparable {
|
|
197
|
+
public let major: Swift.UInt
|
|
198
|
+
public let minor: Swift.UInt
|
|
199
|
+
public let patch: Swift.UInt
|
|
200
|
+
public let preReleaseId: Swift.String?
|
|
201
|
+
public init?(versionString: Swift.String)
|
|
202
|
+
public init(major: Swift.UInt, minor: Swift.UInt, patch: Swift.UInt, preReleaseId: Swift.String? = nil)
|
|
203
|
+
public static func < (lhs: KontaktSDK.FirmwareVersion, rhs: KontaktSDK.FirmwareVersion) -> Swift.Bool
|
|
204
|
+
public static func == (a: KontaktSDK.FirmwareVersion, b: KontaktSDK.FirmwareVersion) -> Swift.Bool
|
|
205
|
+
}
|
|
206
|
+
@objc final public class DeviceCCRequest : ObjectiveC.NSObject, Swift.Encodable {
|
|
207
|
+
@objc public init(messageId: Swift.UInt16, requestId: Swift.UInt16, levelId: Swift.UInt8)
|
|
208
|
+
@objc public init(messageId: Swift.UInt16, requestId: Swift.UInt16)
|
|
209
|
+
@objc convenience public init(messageId: Swift.UInt16)
|
|
210
|
+
@objc convenience public init(messageId: Swift.UInt16, levelId: Swift.UInt8)
|
|
211
|
+
@objc deinit
|
|
212
|
+
final public func encode(to encoder: any Swift.Encoder) throws
|
|
213
|
+
}
|
|
214
|
+
@objc(KTKAccidentFrame) final public class AccidentFrame : ObjectiveC.NSObject {
|
|
215
|
+
@objc public enum SensitivityLevel : Swift.UInt8, Swift.CustomStringConvertible {
|
|
216
|
+
case mg16PerUnit = 0b00
|
|
217
|
+
case mg32PerUnit = 0b01
|
|
218
|
+
case mg64PerUnit = 0b10
|
|
219
|
+
case mg128PerUnit = 0b11
|
|
220
|
+
public var description: Swift.String {
|
|
221
|
+
get
|
|
222
|
+
}
|
|
223
|
+
public init?(rawValue: Swift.UInt8)
|
|
224
|
+
public typealias RawValue = Swift.UInt8
|
|
225
|
+
public var rawValue: Swift.UInt8 {
|
|
226
|
+
get
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
@objc final public let batteryLevel: Swift.Int
|
|
230
|
+
@objc final public let sensitivityLevel: KontaktSDK.AccidentFrame.SensitivityLevel
|
|
231
|
+
@objc final public let alertMode: Swift.Bool
|
|
232
|
+
@objc final public let accidentDetected: Swift.Bool
|
|
233
|
+
@objc final public let accidentCounter: Swift.Int
|
|
234
|
+
@objc final public let accelerationData: KontaktSDK.AccelerationSample
|
|
235
|
+
@objc final public let maxMovingAverage: Swift.Double
|
|
236
|
+
@objc public init(batteryLevel: Swift.Int, sensitivityLevel: KontaktSDK.AccidentFrame.SensitivityLevel, alertMode: Swift.Bool, accidentDetected: Swift.Bool, accidentCounter: Swift.Int, accelerationData: KontaktSDK.AccelerationSample, maxMovingAverage: Swift.Double)
|
|
237
|
+
@objc override final public var debugDescription: Swift.String {
|
|
238
|
+
@objc get
|
|
239
|
+
}
|
|
240
|
+
@objc deinit
|
|
241
|
+
}
|
|
242
|
+
@_inheritsConvenienceInitializers @objc(KTKDeviceAccidentReadDataOperation) final public class DeviceAccidentReadDataOperation : KontaktSDK.KTKDeviceConnectionOperation, @unchecked Swift.Sendable {
|
|
243
|
+
public enum FrameDecodeError : Swift.Error {
|
|
244
|
+
case unexpectedValue
|
|
245
|
+
case sizeMismatch
|
|
246
|
+
public static func == (a: KontaktSDK.DeviceAccidentReadDataOperation.FrameDecodeError, b: KontaktSDK.DeviceAccidentReadDataOperation.FrameDecodeError) -> Swift.Bool
|
|
247
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
248
|
+
public var hashValue: Swift.Int {
|
|
249
|
+
get
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
@objc final public var handler: ((KontaktSDK.AccidentFrame, _ stop: Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>) -> Swift.Void)?
|
|
253
|
+
@objc override final public var device: KontaktSDK.KTKNearbyDevice? {
|
|
254
|
+
@objc get
|
|
255
|
+
@objc set
|
|
256
|
+
}
|
|
257
|
+
@objc override final public func createOperations()
|
|
258
|
+
@objc public static func decodeFrame(_ data: Foundation.Data) throws -> KontaktSDK.AccidentFrame
|
|
259
|
+
@objc override final public func operationDidFinish(_ operation: KontaktSDK.KTKDeviceGATTOperation, errors: [any Swift.Error]?)
|
|
260
|
+
@objc override final public func finished(_ errors: [any Swift.Error]?)
|
|
261
|
+
@objc override dynamic public init(operations: [Foundation.Operation]?)
|
|
262
|
+
@objc override dynamic public init(operations: [Foundation.Operation]?, maxConcurrent: Swift.UInt)
|
|
263
|
+
@objc override dynamic public init(operations: [Foundation.Operation]?, maxConcurrent: Swift.UInt, serial: Swift.Bool)
|
|
264
|
+
@objc override dynamic public init()
|
|
265
|
+
@objc deinit
|
|
266
|
+
}
|
|
267
|
+
extension KontaktSDK.DeviceAccidentReadDataOperation : KontaktSDK.DeviceProlongableOperation {
|
|
268
|
+
@objc final public func makeProlongOperation() -> KontaktSDK.KTKDeviceGATTOperation
|
|
269
|
+
}
|
|
270
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc final public class ISO8601MicrosecondsDateFormatter : Foundation.DateFormatter {
|
|
271
|
+
@objc override dynamic public init()
|
|
272
|
+
@objc override final public func string(from date: Foundation.Date) -> Swift.String
|
|
273
|
+
@objc deinit
|
|
274
|
+
}
|
|
275
|
+
@objc final public class DeviceCCGenericResponse : ObjectiveC.NSObject, Swift.Decodable {
|
|
276
|
+
@objc final public let requestId: Swift.UInt16
|
|
277
|
+
@objc final public let timestampMilliseconds: Swift.UInt64
|
|
278
|
+
@objc final public let returnCode: Swift.Int32
|
|
279
|
+
@objc final public let message: Swift.String?
|
|
280
|
+
@objc deinit
|
|
281
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
282
|
+
}
|
|
283
|
+
public enum DeviceCCStorageDataParserError : Foundation.LocalizedError {
|
|
284
|
+
case mutableRawDataIsEmpty
|
|
285
|
+
case unexpectedDataFormat(Swift.Int, Swift.Int, Foundation.Data)
|
|
286
|
+
public var errorDescription: Swift.String? {
|
|
287
|
+
get
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
@_inheritsConvenienceInitializers @objc final public class DeviceCCStorageDataParser : ObjectiveC.NSObject {
|
|
291
|
+
@objc public static func parseRawData(_ rawData: Foundation.Data, dataFormat: [KontaktSDK.DeviceCCStorageReadResponse.ElementFormat]) throws -> [[KontaktSDK.DeviceCCStorageReadResponse.ElementData]]
|
|
292
|
+
@objc override dynamic public init()
|
|
293
|
+
@objc deinit
|
|
294
|
+
}
|
|
295
|
+
@objc public enum SensorOobAlarm : Swift.Int, Swift.CustomStringConvertible {
|
|
296
|
+
case invalid = -1
|
|
297
|
+
case inactive = 0x0
|
|
298
|
+
case active = 0x1
|
|
299
|
+
case acked = 0x2
|
|
300
|
+
case resolved = 0x3
|
|
301
|
+
public var description: Swift.String {
|
|
302
|
+
get
|
|
303
|
+
}
|
|
304
|
+
public init?(rawValue: Swift.Int)
|
|
305
|
+
public typealias RawValue = Swift.Int
|
|
306
|
+
public var rawValue: Swift.Int {
|
|
307
|
+
get
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
@objc public enum SensorErrAlarm : Swift.Int, Swift.CustomStringConvertible {
|
|
311
|
+
case invalid = -1
|
|
312
|
+
case inactive = 0x0
|
|
313
|
+
case active = 0x1
|
|
314
|
+
case acked = 0x2
|
|
315
|
+
case resolved = 0x3
|
|
316
|
+
public var description: Swift.String {
|
|
317
|
+
get
|
|
318
|
+
}
|
|
319
|
+
public init?(rawValue: Swift.Int)
|
|
320
|
+
public typealias RawValue = Swift.Int
|
|
321
|
+
public var rawValue: Swift.Int {
|
|
322
|
+
get
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
@objc public enum SensorError : Swift.Int, Swift.CustomStringConvertible {
|
|
326
|
+
case invalid = -1
|
|
327
|
+
case noError = 0x0
|
|
328
|
+
case noMeasurementOrBusError = 0x1
|
|
329
|
+
case probeDisconnected = 0x2
|
|
330
|
+
case other = 0x3
|
|
331
|
+
public var description: Swift.String {
|
|
332
|
+
get
|
|
333
|
+
}
|
|
334
|
+
public init?(rawValue: Swift.Int)
|
|
335
|
+
public typealias RawValue = Swift.Int
|
|
336
|
+
public var rawValue: Swift.Int {
|
|
337
|
+
get
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
@objc public enum MonitorState : Swift.Int, Swift.CustomStringConvertible {
|
|
341
|
+
case invalid = -1
|
|
342
|
+
case sleep = 0
|
|
343
|
+
case paused = 1
|
|
344
|
+
case arming = 2
|
|
345
|
+
case armed = 3
|
|
346
|
+
case halted = 4
|
|
347
|
+
public var description: Swift.String {
|
|
348
|
+
get
|
|
349
|
+
}
|
|
350
|
+
public init?(rawValue: Swift.Int)
|
|
351
|
+
public typealias RawValue = Swift.Int
|
|
352
|
+
public var rawValue: Swift.Int {
|
|
353
|
+
get
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
@_inheritsConvenienceInitializers @objc(KTKDeviceSensorReadDataOperation) final public class DeviceSensorReadDataOperation : KontaktSDK.KTKDeviceConnectionOperation, @unchecked Swift.Sendable {
|
|
357
|
+
public enum AccDecodeError : Swift.Error {
|
|
358
|
+
case badFrameFormat
|
|
359
|
+
case unexpectedValue
|
|
360
|
+
case sizeMismatch
|
|
361
|
+
public static func == (a: KontaktSDK.DeviceSensorReadDataOperation.AccDecodeError, b: KontaktSDK.DeviceSensorReadDataOperation.AccDecodeError) -> Swift.Bool
|
|
362
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
363
|
+
public var hashValue: Swift.Int {
|
|
364
|
+
get
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
@objc final public var handler: (([KontaktSDK.AccelerationSample], _ stop: Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>) -> Swift.Void)?
|
|
368
|
+
@objc override final public var device: KontaktSDK.KTKNearbyDevice? {
|
|
369
|
+
@objc get
|
|
370
|
+
@objc set
|
|
371
|
+
}
|
|
372
|
+
@objc override final public func createOperations()
|
|
373
|
+
@objc override final public func operationDidFinish(_ operation: KontaktSDK.KTKDeviceGATTOperation, errors: [any Swift.Error]?)
|
|
374
|
+
@objc override final public func finished(_ errors: [any Swift.Error]?)
|
|
375
|
+
@objc override dynamic public init(operations: [Foundation.Operation]?)
|
|
376
|
+
@objc override dynamic public init(operations: [Foundation.Operation]?, maxConcurrent: Swift.UInt)
|
|
377
|
+
@objc override dynamic public init(operations: [Foundation.Operation]?, maxConcurrent: Swift.UInt, serial: Swift.Bool)
|
|
378
|
+
@objc override dynamic public init()
|
|
379
|
+
@objc deinit
|
|
380
|
+
}
|
|
381
|
+
extension KontaktSDK.DeviceSensorReadDataOperation : KontaktSDK.DeviceProlongableOperation {
|
|
382
|
+
@objc final public func makeProlongOperation() -> KontaktSDK.KTKDeviceGATTOperation
|
|
383
|
+
}
|
|
384
|
+
@objc(KTKAccelerationSample) final public class AccelerationSample : ObjectiveC.NSObject {
|
|
385
|
+
@objc final public let xg: Swift.Double
|
|
386
|
+
@objc final public let yg: Swift.Double
|
|
387
|
+
@objc final public let zg: Swift.Double
|
|
388
|
+
@objc final public let timestamp: Foundation.TimeInterval
|
|
389
|
+
@objc public init(xg: Swift.Double, yg: Swift.Double, zg: Swift.Double, timestamp: Foundation.TimeInterval = -1)
|
|
390
|
+
@objc override final public var description: Swift.String {
|
|
391
|
+
@objc get
|
|
392
|
+
}
|
|
393
|
+
@objc deinit
|
|
394
|
+
}
|
|
395
|
+
extension Foundation.NSString.VersionOperator : Swift.Equatable {}
|
|
396
|
+
extension Foundation.NSString.VersionOperator : Swift.Hashable {}
|
|
397
|
+
extension Foundation.NSString.VersionOperator : Swift.RawRepresentable {}
|
|
398
|
+
extension KontaktSDK.DeviceCCSlotStateResponse.SlotState.SlotDetection : Swift.Equatable {}
|
|
399
|
+
extension KontaktSDK.DeviceCCSlotStateResponse.SlotState.SlotDetection : Swift.Hashable {}
|
|
400
|
+
extension KontaktSDK.DeviceCCSlotStateResponse.SlotState.SlotDetection : Swift.RawRepresentable {}
|
|
401
|
+
extension KontaktSDK.DeviceCCLogEvent.LogLevel : Swift.Equatable {}
|
|
402
|
+
extension KontaktSDK.DeviceCCLogEvent.LogLevel : Swift.Hashable {}
|
|
403
|
+
extension KontaktSDK.DeviceCCLogEvent.LogLevel : Swift.RawRepresentable {}
|
|
404
|
+
extension KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.ElementId : Swift.Equatable {}
|
|
405
|
+
extension KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.ElementId : Swift.Hashable {}
|
|
406
|
+
extension KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.ElementId : Swift.RawRepresentable {}
|
|
407
|
+
extension KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.EncodingId : Swift.Equatable {}
|
|
408
|
+
extension KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.EncodingId : Swift.Hashable {}
|
|
409
|
+
extension KontaktSDK.DeviceCCStorageReadResponse.ElementFormat.EncodingId : Swift.RawRepresentable {}
|
|
410
|
+
extension KontaktSDK.AccidentFrame.SensitivityLevel : Swift.Equatable {}
|
|
411
|
+
extension KontaktSDK.AccidentFrame.SensitivityLevel : Swift.Hashable {}
|
|
412
|
+
extension KontaktSDK.AccidentFrame.SensitivityLevel : Swift.RawRepresentable {}
|
|
413
|
+
extension KontaktSDK.DeviceAccidentReadDataOperation.FrameDecodeError : Swift.Equatable {}
|
|
414
|
+
extension KontaktSDK.DeviceAccidentReadDataOperation.FrameDecodeError : Swift.Hashable {}
|
|
415
|
+
extension KontaktSDK.SensorOobAlarm : Swift.Equatable {}
|
|
416
|
+
extension KontaktSDK.SensorOobAlarm : Swift.Hashable {}
|
|
417
|
+
extension KontaktSDK.SensorOobAlarm : Swift.RawRepresentable {}
|
|
418
|
+
extension KontaktSDK.SensorErrAlarm : Swift.Equatable {}
|
|
419
|
+
extension KontaktSDK.SensorErrAlarm : Swift.Hashable {}
|
|
420
|
+
extension KontaktSDK.SensorErrAlarm : Swift.RawRepresentable {}
|
|
421
|
+
extension KontaktSDK.SensorError : Swift.Equatable {}
|
|
422
|
+
extension KontaktSDK.SensorError : Swift.Hashable {}
|
|
423
|
+
extension KontaktSDK.SensorError : Swift.RawRepresentable {}
|
|
424
|
+
extension KontaktSDK.MonitorState : Swift.Equatable {}
|
|
425
|
+
extension KontaktSDK.MonitorState : Swift.Hashable {}
|
|
426
|
+
extension KontaktSDK.MonitorState : Swift.RawRepresentable {}
|
|
427
|
+
extension KontaktSDK.DeviceSensorReadDataOperation.AccDecodeError : Swift.Equatable {}
|
|
428
|
+
extension KontaktSDK.DeviceSensorReadDataOperation.AccDecodeError : Swift.Hashable {}
|
package/ios/Frameworks/KontaktSDK.xcframework/ios-arm64/KontaktSDK.framework/strip-frameworks.sh
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
################################################################################
|
|
2
|
+
#
|
|
3
|
+
# Copyright 2015 Realm Inc.
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
#
|
|
17
|
+
################################################################################
|
|
18
|
+
|
|
19
|
+
# This script strips all non-valid architectures from dynamic libraries in
|
|
20
|
+
# the application's `Frameworks` directory.
|
|
21
|
+
#
|
|
22
|
+
# The following environment variables are required:
|
|
23
|
+
#
|
|
24
|
+
# BUILT_PRODUCTS_DIR
|
|
25
|
+
# FRAMEWORKS_FOLDER_PATH
|
|
26
|
+
# VALID_ARCHS
|
|
27
|
+
# EXPANDED_CODE_SIGN_IDENTITY
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# Signs a framework with the provided identity
|
|
31
|
+
code_sign() {
|
|
32
|
+
# Use the current code_sign_identitiy
|
|
33
|
+
echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
|
|
34
|
+
echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1"
|
|
35
|
+
/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
# Set working directory to product’s embedded frameworks
|
|
39
|
+
cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
|
40
|
+
|
|
41
|
+
if [ "$ACTION" = "install" ]; then
|
|
42
|
+
echo "Copy .bcsymbolmap files to .xcarchive"
|
|
43
|
+
find . -name '*.bcsymbolmap' -type f -exec mv {} "${CONFIGURATION_BUILD_DIR}" \;
|
|
44
|
+
else
|
|
45
|
+
# Delete *.bcsymbolmap files from framework bundle unless archiving
|
|
46
|
+
find . -name '*.bcsymbolmap' -type f -exec rm -rf "{}" +\;
|
|
47
|
+
fi
|
|
48
|
+
|
|
49
|
+
echo "Stripping frameworks"
|
|
50
|
+
|
|
51
|
+
for file in $(find . -type f -perm +111); do
|
|
52
|
+
# Skip non-dynamic libraries
|
|
53
|
+
if ! [[ "$(file "$file")" == *"dynamically linked shared library"* ]]; then
|
|
54
|
+
continue
|
|
55
|
+
fi
|
|
56
|
+
# Get architectures for current file
|
|
57
|
+
archs="$(lipo -info "${file}" | rev | cut -d ':' -f1 | rev)"
|
|
58
|
+
stripped=""
|
|
59
|
+
for arch in $archs; do
|
|
60
|
+
if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
|
|
61
|
+
# Strip non-valid architectures in-place
|
|
62
|
+
lipo -remove "$arch" -output "$file" "$file" || exit 1
|
|
63
|
+
stripped="$stripped $arch"
|
|
64
|
+
fi
|
|
65
|
+
done
|
|
66
|
+
if [[ "$stripped" != "" ]]; then
|
|
67
|
+
echo "Stripped $file of architectures:$stripped"
|
|
68
|
+
if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then
|
|
69
|
+
code_sign "${file}"
|
|
70
|
+
fi
|
|
71
|
+
fi
|
|
72
|
+
done
|
|
Binary file
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2016 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@import CoreLocation;
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
#pragma mark - CLBeacon (Kontakt)
|
|
13
|
+
@interface CLBeacon (Kontakt)
|
|
14
|
+
|
|
15
|
+
#pragma mark - Kontakt Secure Shuffling Properties
|
|
16
|
+
///--------------------------------------------------------------------
|
|
17
|
+
/// @name Kontakt Secure Shuffling Properties
|
|
18
|
+
///--------------------------------------------------------------------
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Proximity identifier associated with the beacon.
|
|
22
|
+
*/
|
|
23
|
+
@property (nonatomic, strong, readonly) NSUUID * ktk_proximityUUID;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Most significant value associated with the beacon.
|
|
27
|
+
*/
|
|
28
|
+
@property (nonatomic, strong, readonly) NSNumber * ktk_major;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Least significant value associated with the beacon.
|
|
32
|
+
*/
|
|
33
|
+
@property (nonatomic, strong, readonly) NSNumber * ktk_minor;
|
|
34
|
+
|
|
35
|
+
@end
|
|
36
|
+
|
|
37
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
//
|
|
2
|
+
// KontaktSDK
|
|
3
|
+
// Version: 6.2.1
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2015 Kontakt.io. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@import CoreLocation;
|
|
9
|
+
|
|
10
|
+
#import "KTKCloudModel.h"
|
|
11
|
+
#import "KTKActionContent.h"
|
|
12
|
+
#import "KTKCloudDefinitions.h"
|
|
13
|
+
|
|
14
|
+
#if TARGET_OS_IOS
|
|
15
|
+
typedef CLProximity Proximity;
|
|
16
|
+
#else
|
|
17
|
+
typedef KTKProximity Proximity;
|
|
18
|
+
#endif
|
|
19
|
+
|
|
20
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Action type.
|
|
24
|
+
*/
|
|
25
|
+
typedef NS_ENUM(NSInteger, KTKActionType) {
|
|
26
|
+
/**
|
|
27
|
+
* Action type is invalid.
|
|
28
|
+
*/
|
|
29
|
+
KTKActionTypeInvalid = -1,
|
|
30
|
+
/**
|
|
31
|
+
* Content action type.
|
|
32
|
+
*/
|
|
33
|
+
KTKActionTypeContent = 1,
|
|
34
|
+
/**
|
|
35
|
+
* Browser/URL action type.
|
|
36
|
+
*/
|
|
37
|
+
KTKActionTypeBrowser = 2,
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
#pragma mark - KTKAction (Interface)
|
|
41
|
+
@interface KTKAction : NSObject <KTKCloudModel>
|
|
42
|
+
|
|
43
|
+
#pragma mark - Content Properties
|
|
44
|
+
///--------------------------------------------------------------------
|
|
45
|
+
/// @name Content Properties
|
|
46
|
+
///--------------------------------------------------------------------
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Action identifier. (read-only)
|
|
50
|
+
*/
|
|
51
|
+
@property (nonatomic, strong, readonly) NSUUID *actionID;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Type of the action. (read-only)
|
|
55
|
+
*/
|
|
56
|
+
@property (nonatomic, assign, readonly) KTKActionType type;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* The proximity on which action should be triggered. (read-only)
|
|
60
|
+
*/
|
|
61
|
+
@property (nonatomic, assign, readonly) Proximity proximity;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* An array of devices unique identifiers assigned to the action. (read-only)
|
|
65
|
+
*/
|
|
66
|
+
@property (nonatomic, strong, readonly) NSArray <NSString*>* _Nullable devicesUniqueID;
|
|
67
|
+
|
|
68
|
+
#pragma mark - Action Type URL
|
|
69
|
+
///--------------------------------------------------------------------
|
|
70
|
+
/// @name Action Type URL
|
|
71
|
+
///--------------------------------------------------------------------
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* A url of the action. Nil when action type is equal to <code><KTKActionTypeContent></code> (read-only)
|
|
75
|
+
*/
|
|
76
|
+
@property (nonatomic, strong, readonly) NSURL * _Nullable url;
|
|
77
|
+
|
|
78
|
+
#pragma mark - Action Type Content
|
|
79
|
+
///--------------------------------------------------------------------
|
|
80
|
+
/// @name Action Type Content
|
|
81
|
+
///--------------------------------------------------------------------
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* A content object of the action. Nil when action type is equal to <code><KTKActionTypeBrowser></code> (read-only)
|
|
85
|
+
*/
|
|
86
|
+
@property (nonatomic, strong, readonly) KTKActionContent * _Nullable content;
|
|
87
|
+
|
|
88
|
+
@end
|
|
89
|
+
|
|
90
|
+
NS_ASSUME_NONNULL_END
|