@iternio/react-native-auto-play 0.2.0-alpha.1 → 0.2.0-alpha.3
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/android/src/auto/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAndroidAutomotive.kt +25 -0
- package/android/src/automotive/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/AndroidTelemetryObserver.kt +28 -15
- package/android/src/automotive/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAndroidAutomotive.kt +190 -0
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/AndroidAutoTelemetryHolder.kt +32 -0
- package/ios/hybrid/HybridAutoPlay.swift +1 -0
- package/ios/hybrid/HybridMapTemplate.swift +1 -1
- package/ios/templates/AutoPlayTemplate.swift +2 -2
- package/ios/templates/GridTemplate.swift +13 -15
- package/ios/templates/InformationTemplate.swift +11 -13
- package/ios/templates/ListTemplate.swift +11 -13
- package/ios/templates/MapTemplate.swift +24 -20
- package/ios/templates/Parser.swift +25 -10
- package/ios/templates/SearchTemplate.swift +7 -4
- package/lib/hooks/useAndroidAutoTelemetry.d.ts +13 -4
- package/lib/hooks/useAndroidAutoTelemetry.js +6 -3
- package/lib/hooks/useIsAutoPlayFocused.d.ts +7 -0
- package/lib/hooks/useIsAutoPlayFocused.js +20 -0
- package/lib/hybrid.d.ts +2 -0
- package/lib/hybrid.js +2 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +4 -0
- package/lib/specs/AndroidAutomotive.nitro.d.ts +33 -0
- package/lib/specs/AndroidAutomotive.nitro.js +13 -0
- package/lib/specs/AutomotivePermissionRequestTemplate.d.ts +11 -0
- package/lib/specs/AutomotivePermissionRequestTemplate.js +1 -0
- package/lib/specs/AutomotivePermissionRequestTemplate.nitro.d.ts +11 -0
- package/lib/specs/AutomotivePermissionRequestTemplate.nitro.js +1 -0
- package/lib/templates/AutomotivePermissionRequestTemplate.d.ts +23 -0
- package/lib/templates/AutomotivePermissionRequestTemplate.js +18 -0
- package/lib/types/Telemetry.d.ts +4 -0
- package/lib/types/Trip.d.ts +4 -0
- package/nitro.json +3 -0
- package/nitrogen/generated/android/ReactNativeAutoPlay+autolinking.cmake +3 -1
- package/nitrogen/generated/android/ReactNativeAutoPlay+autolinking.gradle +1 -1
- package/nitrogen/generated/android/ReactNativeAutoPlayOnLoad.cpp +17 -3
- package/nitrogen/generated/android/ReactNativeAutoPlayOnLoad.hpp +1 -1
- package/nitrogen/generated/android/c++/JActiveCarUxRestrictions.hpp +89 -0
- package/nitrogen/generated/android/c++/JAlertActionStyle.hpp +4 -5
- package/nitrogen/generated/android/c++/JAlertDismissalReason.hpp +4 -5
- package/nitrogen/generated/android/c++/JAppFocusState.hpp +61 -0
- package/nitrogen/generated/android/c++/JAssetImage.hpp +1 -1
- package/nitrogen/generated/android/c++/JAutoText.hpp +1 -1
- package/nitrogen/generated/android/c++/JBooleanTelemetryItem.hpp +1 -1
- package/nitrogen/generated/android/c++/JCarUxRestrictions.hpp +82 -0
- package/nitrogen/generated/android/c++/JClusterEventName.hpp +5 -6
- package/nitrogen/generated/android/c++/JColorScheme.hpp +3 -4
- package/nitrogen/generated/android/c++/JDistance.hpp +1 -1
- package/nitrogen/generated/android/c++/JDistanceUnits.hpp +6 -7
- package/nitrogen/generated/android/c++/JDurationWithTimeZone.hpp +1 -1
- package/nitrogen/generated/android/c++/JEventName.hpp +3 -4
- package/nitrogen/generated/android/c++/JForkType.hpp +3 -4
- package/nitrogen/generated/android/c++/JFunc_void.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_ActiveCarUxRestrictions.hpp +80 -0
- package/nitrogen/generated/android/c++/JFunc_void_AlertDismissalReason.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_AppFocusState.hpp +78 -0
- package/nitrogen/generated/android/c++/JFunc_void_ColorScheme.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_Point.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_Point_double.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_Point_std__optional_Point_.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_SafeAreaInsets.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_VisibilityState.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_bool.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__optional_Location__std__optional_std__string_.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__optional_Telemetry_.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__optional_bool_.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_ColorScheme.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_ZoomEvent.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_bool.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_std__string.hpp +1 -1
- package/nitrogen/generated/android/c++/JGlyphImage.hpp +1 -1
- package/nitrogen/generated/android/c++/JGridTemplateConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JHybridAndroidAutoTelemetrySpec.cpp +8 -1
- package/nitrogen/generated/android/c++/JHybridAndroidAutoTelemetrySpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridAndroidAutomotiveSpec.cpp +120 -0
- package/nitrogen/generated/android/c++/JHybridAndroidAutomotiveSpec.hpp +70 -0
- package/nitrogen/generated/android/c++/JHybridAutoPlaySpec.cpp +9 -1
- package/nitrogen/generated/android/c++/JHybridAutoPlaySpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridClusterSpec.cpp +9 -1
- package/nitrogen/generated/android/c++/JHybridClusterSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridGridTemplateSpec.cpp +9 -1
- package/nitrogen/generated/android/c++/JHybridGridTemplateSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridInformationTemplateSpec.cpp +9 -1
- package/nitrogen/generated/android/c++/JHybridInformationTemplateSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridListTemplateSpec.cpp +9 -1
- package/nitrogen/generated/android/c++/JHybridListTemplateSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridMapTemplateSpec.cpp +9 -1
- package/nitrogen/generated/android/c++/JHybridMapTemplateSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridMessageTemplateSpec.cpp +8 -1
- package/nitrogen/generated/android/c++/JHybridMessageTemplateSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridSearchTemplateSpec.cpp +9 -1
- package/nitrogen/generated/android/c++/JHybridSearchTemplateSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridSignInTemplateSpec.cpp +9 -1
- package/nitrogen/generated/android/c++/JHybridSignInTemplateSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JImageLane.hpp +1 -1
- package/nitrogen/generated/android/c++/JInformationTemplateConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JInputSignIn.hpp +1 -1
- package/nitrogen/generated/android/c++/JKeepType.hpp +4 -5
- package/nitrogen/generated/android/c++/JKeyboardType.hpp +5 -6
- package/nitrogen/generated/android/c++/JLaneGuidance.hpp +1 -1
- package/nitrogen/generated/android/c++/JListTemplateConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JLocation.hpp +1 -1
- package/nitrogen/generated/android/c++/JManeuverType.hpp +13 -14
- package/nitrogen/generated/android/c++/JMapTemplateConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JMessageTemplateConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JNavigationAlertAction.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroAction.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroActionType.hpp +4 -5
- package/nitrogen/generated/android/c++/JNitroAlignment.hpp +3 -4
- package/nitrogen/generated/android/c++/JNitroAttributedString.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroAttributedStringImage.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroBaseMapTemplateConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroButtonStyle.hpp +6 -7
- package/nitrogen/generated/android/c++/JNitroColor.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroGridButton.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroImage.cpp +1 -1
- package/nitrogen/generated/android/c++/JNitroImage.hpp +3 -3
- package/nitrogen/generated/android/c++/JNitroLoadingManeuver.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroManeuver.cpp +1 -1
- package/nitrogen/generated/android/c++/JNitroManeuver.hpp +7 -4
- package/nitrogen/generated/android/c++/JNitroMapButton.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroMapButtonType.hpp +3 -4
- package/nitrogen/generated/android/c++/JNitroMessageManeuver.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroNavigationAlert.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroRoutingManeuver.hpp +4 -1
- package/nitrogen/generated/android/c++/JNitroRow.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroSection.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroSectionType.hpp +3 -4
- package/nitrogen/generated/android/c++/JNumericTelemetryItem.hpp +1 -1
- package/nitrogen/generated/android/c++/JOffRampType.hpp +5 -6
- package/nitrogen/generated/android/c++/JOnRampType.hpp +9 -10
- package/nitrogen/generated/android/c++/JPermissionRequestResult.hpp +1 -1
- package/nitrogen/generated/android/c++/JPinSignIn.hpp +1 -1
- package/nitrogen/generated/android/c++/JPoint.hpp +1 -1
- package/nitrogen/generated/android/c++/JPreferredImageLane.hpp +1 -1
- package/nitrogen/generated/android/c++/JQrSignIn.hpp +1 -1
- package/nitrogen/generated/android/c++/JRouteChoice.hpp +4 -1
- package/nitrogen/generated/android/c++/JSafeAreaInsets.hpp +1 -1
- package/nitrogen/generated/android/c++/JSearchTemplateConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JSignInMethods.hpp +5 -6
- package/nitrogen/generated/android/c++/JSignInTemplateConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JStringTelemetryItem.hpp +1 -1
- package/nitrogen/generated/android/c++/JTelemetry.hpp +8 -4
- package/nitrogen/generated/android/c++/JTextInputType.hpp +3 -4
- package/nitrogen/generated/android/c++/JTrafficSide.hpp +3 -4
- package/nitrogen/generated/android/c++/JTravelEstimates.hpp +19 -4
- package/nitrogen/generated/android/c++/JTripConfig.hpp +4 -1
- package/nitrogen/generated/android/c++/JTripPoint.hpp +4 -1
- package/nitrogen/generated/android/c++/JTripPreviewTextConfiguration.hpp +1 -1
- package/nitrogen/generated/android/c++/JTripSelectorCallback.hpp +1 -1
- package/nitrogen/generated/android/c++/JTripsConfig.hpp +4 -1
- package/nitrogen/generated/android/c++/JTurnType.hpp +10 -11
- package/nitrogen/generated/android/c++/JVariant_GlyphImage_AssetImage.cpp +1 -1
- package/nitrogen/generated/android/c++/JVariant_GlyphImage_AssetImage.hpp +3 -3
- package/nitrogen/generated/android/c++/JVariant_PreferredImageLane_ImageLane.cpp +1 -1
- package/nitrogen/generated/android/c++/JVariant_PreferredImageLane_ImageLane.hpp +3 -3
- package/nitrogen/generated/android/c++/JVariant_QrSignIn_PinSignIn_InputSignIn.cpp +1 -1
- package/nitrogen/generated/android/c++/JVariant_QrSignIn_PinSignIn_InputSignIn.hpp +4 -4
- package/nitrogen/generated/android/c++/JVehicleTelemetryItem.hpp +1 -1
- package/nitrogen/generated/android/c++/JVisibilityState.hpp +5 -6
- package/nitrogen/generated/android/c++/JVisibleTravelEstimate.hpp +3 -4
- package/nitrogen/generated/android/c++/JZoomEvent.hpp +3 -4
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ActiveCarUxRestrictions.kt +47 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/AlertActionStyle.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/AlertDismissalReason.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/AppFocusState.kt +41 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/AssetImage.kt +3 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/AutoText.kt +4 -4
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/BooleanTelemetryItem.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/CarUxRestrictions.kt +31 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ClusterEventName.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ColorScheme.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Distance.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/DistanceUnits.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/DurationWithTimeZone.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/EventName.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ForkType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_ActiveCarUxRestrictions.kt +80 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_AlertDismissalReason.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_AppFocusState.kt +80 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_ColorScheme.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_Point.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_Point_double.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_Point_std__optional_Point_.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_SafeAreaInsets.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_VisibilityState.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_bool.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__optional_Location__std__optional_std__string_.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__optional_Telemetry_.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__optional_bool_.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string_ColorScheme.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string_ZoomEvent.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string_bool.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string_std__string.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/GlyphImage.kt +3 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/GridTemplateConfig.kt +10 -10
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAndroidAutoTelemetrySpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAndroidAutomotiveSpec.kt +88 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAutoPlaySpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridClusterSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridGridTemplateSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridInformationTemplateSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridListTemplateSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridMapTemplateSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridMessageTemplateSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridSearchTemplateSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridSignInTemplateSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ImageLane.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/InformationTemplateConfig.kt +11 -11
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/InputSignIn.kt +7 -7
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/KeepType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/KeyboardType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/LaneGuidance.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ListTemplateConfig.kt +11 -11
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Location.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ManeuverType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/MapTemplateConfig.kt +19 -19
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/MessageTemplateConfig.kt +13 -13
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NavigationAlertAction.kt +3 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroAction.kt +8 -8
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroActionType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroAlignment.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroAttributedString.kt +3 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroAttributedStringImage.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroBaseMapTemplateConfig.kt +11 -11
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroButtonStyle.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroColor.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroGridButton.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroImage.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroLoadingManeuver.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroManeuver.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroMapButton.kt +3 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroMapButtonType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroMessageManeuver.kt +4 -4
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroNavigationAlert.kt +7 -7
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroRoutingManeuver.kt +14 -14
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroRow.kt +8 -8
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroSection.kt +3 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroSectionType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NumericTelemetryItem.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/OffRampType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/OnRampType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/PermissionRequestResult.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/PinSignIn.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Point.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/PreferredImageLane.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/QrSignIn.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ReactNativeAutoPlayOnLoad.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/RouteChoice.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/SafeAreaInsets.kt +3 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/SearchTemplateConfig.kt +11 -11
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/SignInMethods.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/SignInTemplateConfig.kt +14 -14
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/StringTelemetryItem.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Telemetry.kt +18 -15
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/TextInputType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/TrafficSide.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/TravelEstimates.kt +13 -6
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/TripConfig.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/TripPoint.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/TripPreviewTextConfiguration.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/TripSelectorCallback.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/TripsConfig.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/TurnType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Variant_GlyphImage_AssetImage.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Variant_PreferredImageLane_ImageLane.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Variant_QrSignIn_PinSignIn_InputSignIn.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/VehicleTelemetryItem.kt +5 -5
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/VisibilityState.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/VisibleTravelEstimate.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/ZoomEvent.kt +3 -1
- package/nitrogen/generated/ios/ReactNativeAutoPlay+autolinking.rb +2 -2
- package/nitrogen/generated/ios/ReactNativeAutoPlay-Swift-Cxx-Bridge.cpp +1 -1
- package/nitrogen/generated/ios/ReactNativeAutoPlay-Swift-Cxx-Bridge.hpp +4 -4
- package/nitrogen/generated/ios/ReactNativeAutoPlay-Swift-Cxx-Umbrella.hpp +1 -1
- package/nitrogen/generated/ios/ReactNativeAutoPlayAutolinking.mm +1 -1
- package/nitrogen/generated/ios/ReactNativeAutoPlayAutolinking.swift +41 -64
- package/nitrogen/generated/ios/c++/HybridAutoPlaySpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridAutoPlaySpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridCarPlayDashboardSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridCarPlayDashboardSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridClusterSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridClusterSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridGridTemplateSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridGridTemplateSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridInformationTemplateSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridInformationTemplateSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridListTemplateSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridListTemplateSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridMapTemplateSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridMapTemplateSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridMessageTemplateSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridMessageTemplateSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridSearchTemplateSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridSearchTemplateSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/swift/AlertActionStyle.swift +1 -1
- package/nitrogen/generated/ios/swift/AlertDismissalReason.swift +1 -1
- package/nitrogen/generated/ios/swift/AssetImage.swift +13 -55
- package/nitrogen/generated/ios/swift/AutoText.swift +7 -37
- package/nitrogen/generated/ios/swift/ClusterEventName.swift +1 -1
- package/nitrogen/generated/ios/swift/ColorScheme.swift +1 -1
- package/nitrogen/generated/ios/swift/Distance.swift +5 -17
- package/nitrogen/generated/ios/swift/DistanceUnits.swift +1 -1
- package/nitrogen/generated/ios/swift/DurationWithTimeZone.swift +5 -17
- package/nitrogen/generated/ios/swift/EventName.swift +1 -1
- package/nitrogen/generated/ios/swift/ForkType.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_AlertDismissalReason.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_ColorScheme.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_Point.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_Point_double.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_Point_std__optional_Point_.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_SafeAreaInsets.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_VisibilityState.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_Location__std__optional_std__string_.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_bool_.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string_ColorScheme.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string_ZoomEvent.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string_bool.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string_std__string.swift +1 -1
- package/nitrogen/generated/ios/swift/GlyphImage.swift +9 -39
- package/nitrogen/generated/ios/swift/GridTemplateConfig.swift +114 -255
- package/nitrogen/generated/ios/swift/HybridAutoPlaySpec.swift +3 -3
- package/nitrogen/generated/ios/swift/HybridAutoPlaySpec_cxx.swift +9 -1
- package/nitrogen/generated/ios/swift/HybridCarPlayDashboardSpec.swift +3 -3
- package/nitrogen/generated/ios/swift/HybridCarPlayDashboardSpec_cxx.swift +9 -1
- package/nitrogen/generated/ios/swift/HybridClusterSpec.swift +3 -3
- package/nitrogen/generated/ios/swift/HybridClusterSpec_cxx.swift +9 -1
- package/nitrogen/generated/ios/swift/HybridGridTemplateSpec.swift +3 -3
- package/nitrogen/generated/ios/swift/HybridGridTemplateSpec_cxx.swift +9 -1
- package/nitrogen/generated/ios/swift/HybridInformationTemplateSpec.swift +3 -3
- package/nitrogen/generated/ios/swift/HybridInformationTemplateSpec_cxx.swift +9 -1
- package/nitrogen/generated/ios/swift/HybridListTemplateSpec.swift +3 -3
- package/nitrogen/generated/ios/swift/HybridListTemplateSpec_cxx.swift +9 -1
- package/nitrogen/generated/ios/swift/HybridMapTemplateSpec.swift +3 -3
- package/nitrogen/generated/ios/swift/HybridMapTemplateSpec_cxx.swift +9 -1
- package/nitrogen/generated/ios/swift/HybridMessageTemplateSpec.swift +3 -3
- package/nitrogen/generated/ios/swift/HybridMessageTemplateSpec_cxx.swift +9 -1
- package/nitrogen/generated/ios/swift/HybridSearchTemplateSpec.swift +3 -3
- package/nitrogen/generated/ios/swift/HybridSearchTemplateSpec_cxx.swift +9 -1
- package/nitrogen/generated/ios/swift/ImageLane.swift +17 -42
- package/nitrogen/generated/ios/swift/InformationTemplateConfig.swift +123 -276
- package/nitrogen/generated/ios/swift/KeepType.swift +1 -1
- package/nitrogen/generated/ios/swift/LaneGuidance.swift +17 -48
- package/nitrogen/generated/ios/swift/ListTemplateConfig.swift +121 -268
- package/nitrogen/generated/ios/swift/Location.swift +5 -17
- package/nitrogen/generated/ios/swift/ManeuverType.swift +1 -1
- package/nitrogen/generated/ios/swift/MapTemplateConfig.swift +232 -499
- package/nitrogen/generated/ios/swift/MessageTemplateConfig.swift +144 -322
- package/nitrogen/generated/ios/swift/NavigationAlertAction.swift +12 -39
- package/nitrogen/generated/ios/swift/NitroAction.swift +55 -149
- package/nitrogen/generated/ios/swift/NitroActionType.swift +1 -1
- package/nitrogen/generated/ios/swift/NitroAlignment.swift +1 -1
- package/nitrogen/generated/ios/swift/NitroAttributedString.swift +12 -36
- package/nitrogen/generated/ios/swift/NitroAttributedStringImage.swift +17 -36
- package/nitrogen/generated/ios/swift/NitroBaseMapTemplateConfig.swift +129 -267
- package/nitrogen/generated/ios/swift/NitroButtonStyle.swift +1 -1
- package/nitrogen/generated/ios/swift/NitroCarPlayDashboardButton.swift +35 -93
- package/nitrogen/generated/ios/swift/NitroColor.swift +5 -17
- package/nitrogen/generated/ios/swift/NitroGridButton.swift +24 -52
- package/nitrogen/generated/ios/swift/NitroImage.swift +1 -1
- package/nitrogen/generated/ios/swift/NitroLoadingManeuver.swift +3 -9
- package/nitrogen/generated/ios/swift/NitroManeuver.swift +1 -1
- package/nitrogen/generated/ios/swift/NitroMapButton.swift +31 -65
- package/nitrogen/generated/ios/swift/NitroMapButtonType.swift +1 -1
- package/nitrogen/generated/ios/swift/NitroMessageManeuver.swift +35 -78
- package/nitrogen/generated/ios/swift/NitroNavigationAlert.swift +64 -167
- package/nitrogen/generated/ios/swift/NitroRoutingManeuver.swift +91 -309
- package/nitrogen/generated/ios/swift/NitroRow.swift +75 -169
- package/nitrogen/generated/ios/swift/NitroSection.swift +14 -44
- package/nitrogen/generated/ios/swift/NitroSectionType.swift +1 -1
- package/nitrogen/generated/ios/swift/OffRampType.swift +1 -1
- package/nitrogen/generated/ios/swift/OnRampType.swift +1 -1
- package/nitrogen/generated/ios/swift/Point.swift +5 -17
- package/nitrogen/generated/ios/swift/PreferredImageLane.swift +21 -58
- package/nitrogen/generated/ios/swift/RouteChoice.swift +11 -65
- package/nitrogen/generated/ios/swift/SafeAreaInsets.swift +18 -54
- package/nitrogen/generated/ios/swift/SearchTemplateConfig.swift +144 -309
- package/nitrogen/generated/ios/swift/TrafficSide.swift +1 -1
- package/nitrogen/generated/ios/swift/TravelEstimates.swift +34 -32
- package/nitrogen/generated/ios/swift/TripConfig.swift +5 -17
- package/nitrogen/generated/ios/swift/TripPoint.swift +9 -33
- package/nitrogen/generated/ios/swift/TripPreviewTextConfiguration.swift +9 -33
- package/nitrogen/generated/ios/swift/TripSelectorCallback.swift +8 -17
- package/nitrogen/generated/ios/swift/TripsConfig.swift +5 -23
- package/nitrogen/generated/ios/swift/TurnType.swift +1 -1
- package/nitrogen/generated/ios/swift/Variant_GlyphImage_AssetImage.swift +1 -1
- package/nitrogen/generated/ios/swift/Variant_PreferredImageLane_ImageLane.swift +1 -1
- package/nitrogen/generated/ios/swift/VisibilityState.swift +1 -1
- package/nitrogen/generated/ios/swift/VisibleTravelEstimate.swift +1 -1
- package/nitrogen/generated/ios/swift/ZoomEvent.swift +1 -1
- package/nitrogen/generated/shared/c++/ActiveCarUxRestrictions.hpp +97 -0
- package/nitrogen/generated/shared/c++/AlertActionStyle.hpp +1 -1
- package/nitrogen/generated/shared/c++/AlertDismissalReason.hpp +1 -1
- package/nitrogen/generated/shared/c++/AppFocusState.hpp +87 -0
- package/nitrogen/generated/shared/c++/AssetImage.hpp +28 -20
- package/nitrogen/generated/shared/c++/AutoText.hpp +19 -11
- package/nitrogen/generated/shared/c++/BooleanTelemetryItem.hpp +16 -8
- package/nitrogen/generated/shared/c++/CarUxRestrictions.hpp +81 -0
- package/nitrogen/generated/shared/c++/ClusterEventName.hpp +1 -1
- package/nitrogen/generated/shared/c++/ColorScheme.hpp +1 -1
- package/nitrogen/generated/shared/c++/Distance.hpp +16 -8
- package/nitrogen/generated/shared/c++/DistanceUnits.hpp +1 -1
- package/nitrogen/generated/shared/c++/DurationWithTimeZone.hpp +16 -8
- package/nitrogen/generated/shared/c++/EventName.hpp +1 -1
- package/nitrogen/generated/shared/c++/ForkType.hpp +1 -1
- package/nitrogen/generated/shared/c++/GlyphImage.hpp +22 -14
- package/nitrogen/generated/shared/c++/GridTemplateConfig.hpp +43 -35
- package/nitrogen/generated/shared/c++/HybridAndroidAutoTelemetrySpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridAndroidAutoTelemetrySpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridAndroidAutomotiveSpec.cpp +25 -0
- package/nitrogen/generated/shared/c++/HybridAndroidAutomotiveSpec.hpp +71 -0
- package/nitrogen/generated/shared/c++/HybridAutoPlaySpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridAutoPlaySpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCarPlayDashboardSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCarPlayDashboardSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridClusterSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridClusterSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridGridTemplateSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridGridTemplateSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridInformationTemplateSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridInformationTemplateSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridListTemplateSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridListTemplateSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridMapTemplateSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridMapTemplateSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridMessageTemplateSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridMessageTemplateSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridSearchTemplateSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridSearchTemplateSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridSignInTemplateSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridSignInTemplateSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/ImageLane.hpp +16 -8
- package/nitrogen/generated/shared/c++/InformationTemplateConfig.hpp +46 -38
- package/nitrogen/generated/shared/c++/InputSignIn.hpp +34 -26
- package/nitrogen/generated/shared/c++/KeepType.hpp +1 -1
- package/nitrogen/generated/shared/c++/KeyboardType.hpp +1 -1
- package/nitrogen/generated/shared/c++/LaneGuidance.hpp +16 -8
- package/nitrogen/generated/shared/c++/ListTemplateConfig.hpp +43 -35
- package/nitrogen/generated/shared/c++/Location.hpp +16 -8
- package/nitrogen/generated/shared/c++/ManeuverType.hpp +1 -1
- package/nitrogen/generated/shared/c++/MapTemplateConfig.hpp +67 -59
- package/nitrogen/generated/shared/c++/MessageTemplateConfig.hpp +49 -41
- package/nitrogen/generated/shared/c++/NavigationAlertAction.hpp +19 -11
- package/nitrogen/generated/shared/c++/NitroAction.hpp +34 -26
- package/nitrogen/generated/shared/c++/NitroActionType.hpp +1 -1
- package/nitrogen/generated/shared/c++/NitroAlignment.hpp +1 -1
- package/nitrogen/generated/shared/c++/NitroAttributedString.hpp +16 -8
- package/nitrogen/generated/shared/c++/NitroAttributedStringImage.hpp +16 -8
- package/nitrogen/generated/shared/c++/NitroBaseMapTemplateConfig.hpp +37 -29
- package/nitrogen/generated/shared/c++/NitroButtonStyle.hpp +1 -1
- package/nitrogen/generated/shared/c++/NitroCarPlayDashboardButton.hpp +25 -17
- package/nitrogen/generated/shared/c++/NitroColor.hpp +16 -8
- package/nitrogen/generated/shared/c++/NitroGridButton.hpp +19 -11
- package/nitrogen/generated/shared/c++/NitroLoadingManeuver.hpp +13 -5
- package/nitrogen/generated/shared/c++/NitroMapButton.hpp +19 -11
- package/nitrogen/generated/shared/c++/NitroMapButtonType.hpp +1 -1
- package/nitrogen/generated/shared/c++/NitroMessageManeuver.hpp +22 -14
- package/nitrogen/generated/shared/c++/NitroNavigationAlert.hpp +40 -32
- package/nitrogen/generated/shared/c++/NitroRoutingManeuver.hpp +67 -59
- package/nitrogen/generated/shared/c++/NitroRow.hpp +34 -26
- package/nitrogen/generated/shared/c++/NitroSection.hpp +19 -11
- package/nitrogen/generated/shared/c++/NitroSectionType.hpp +1 -1
- package/nitrogen/generated/shared/c++/NumericTelemetryItem.hpp +16 -8
- package/nitrogen/generated/shared/c++/OffRampType.hpp +1 -1
- package/nitrogen/generated/shared/c++/OnRampType.hpp +1 -1
- package/nitrogen/generated/shared/c++/PermissionRequestResult.hpp +16 -8
- package/nitrogen/generated/shared/c++/PinSignIn.hpp +16 -8
- package/nitrogen/generated/shared/c++/Point.hpp +16 -8
- package/nitrogen/generated/shared/c++/PreferredImageLane.hpp +22 -14
- package/nitrogen/generated/shared/c++/QrSignIn.hpp +16 -8
- package/nitrogen/generated/shared/c++/RouteChoice.hpp +25 -17
- package/nitrogen/generated/shared/c++/SafeAreaInsets.hpp +25 -17
- package/nitrogen/generated/shared/c++/SearchTemplateConfig.hpp +52 -44
- package/nitrogen/generated/shared/c++/SignInMethods.hpp +1 -1
- package/nitrogen/generated/shared/c++/SignInTemplateConfig.hpp +49 -41
- package/nitrogen/generated/shared/c++/StringTelemetryItem.hpp +16 -8
- package/nitrogen/generated/shared/c++/Telemetry.hpp +48 -36
- package/nitrogen/generated/shared/c++/TextInputType.hpp +1 -1
- package/nitrogen/generated/shared/c++/TrafficSide.hpp +1 -1
- package/nitrogen/generated/shared/c++/TravelEstimates.hpp +25 -12
- package/nitrogen/generated/shared/c++/TripConfig.hpp +16 -8
- package/nitrogen/generated/shared/c++/TripPoint.hpp +22 -14
- package/nitrogen/generated/shared/c++/TripPreviewTextConfiguration.hpp +22 -14
- package/nitrogen/generated/shared/c++/TripSelectorCallback.hpp +13 -5
- package/nitrogen/generated/shared/c++/TripsConfig.hpp +16 -8
- package/nitrogen/generated/shared/c++/TurnType.hpp +1 -1
- package/nitrogen/generated/shared/c++/VehicleTelemetryItem.hpp +19 -11
- package/nitrogen/generated/shared/c++/VisibilityState.hpp +1 -1
- package/nitrogen/generated/shared/c++/VisibleTravelEstimate.hpp +1 -1
- package/nitrogen/generated/shared/c++/ZoomEvent.hpp +1 -1
- package/package.json +2 -3
- package/src/hooks/useAndroidAutoTelemetry.ts +48 -32
- package/src/index.ts +11 -0
- package/src/specs/AndroidAutomotive.nitro.ts +37 -0
- package/src/types/Telemetry.ts +4 -0
- package/src/types/Trip.ts +4 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// AssetImage.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
// Forward declaration of `NitroColor` to properly resolve imports.
|
|
27
32
|
namespace margelo::nitro::swe::iternio::reactnativeautoplay { struct NitroColor; }
|
|
@@ -35,7 +40,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
35
40
|
/**
|
|
36
41
|
* A struct which can be represented as a JavaScript object (AssetImage).
|
|
37
42
|
*/
|
|
38
|
-
struct AssetImage {
|
|
43
|
+
struct AssetImage final {
|
|
39
44
|
public:
|
|
40
45
|
std::optional<NitroColor> color SWIFT_PRIVATE;
|
|
41
46
|
bool packager_asset SWIFT_PRIVATE;
|
|
@@ -47,6 +52,9 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
47
52
|
public:
|
|
48
53
|
AssetImage() = default;
|
|
49
54
|
explicit AssetImage(std::optional<NitroColor> color, bool packager_asset, double height, double width, double scale, std::string uri): color(color), packager_asset(packager_asset), height(height), width(width), scale(scale), uri(uri) {}
|
|
55
|
+
|
|
56
|
+
public:
|
|
57
|
+
friend bool operator==(const AssetImage& lhs, const AssetImage& rhs) = default;
|
|
50
58
|
};
|
|
51
59
|
|
|
52
60
|
} // namespace margelo::nitro::swe::iternio::reactnativeautoplay
|
|
@@ -59,22 +67,22 @@ namespace margelo::nitro {
|
|
|
59
67
|
static inline margelo::nitro::swe::iternio::reactnativeautoplay::AssetImage fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
60
68
|
jsi::Object obj = arg.asObject(runtime);
|
|
61
69
|
return margelo::nitro::swe::iternio::reactnativeautoplay::AssetImage(
|
|
62
|
-
JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>>::fromJSI(runtime, obj.getProperty(runtime, "color")),
|
|
63
|
-
JSIConverter<bool>::fromJSI(runtime, obj.getProperty(runtime, "packager_asset")),
|
|
64
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "height")),
|
|
65
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "width")),
|
|
66
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "scale")),
|
|
67
|
-
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "uri"))
|
|
70
|
+
JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "color"))),
|
|
71
|
+
JSIConverter<bool>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "packager_asset"))),
|
|
72
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "height"))),
|
|
73
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "width"))),
|
|
74
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "scale"))),
|
|
75
|
+
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "uri")))
|
|
68
76
|
);
|
|
69
77
|
}
|
|
70
78
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::swe::iternio::reactnativeautoplay::AssetImage& arg) {
|
|
71
79
|
jsi::Object obj(runtime);
|
|
72
|
-
obj.setProperty(runtime, "color", JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>>::toJSI(runtime, arg.color));
|
|
73
|
-
obj.setProperty(runtime, "packager_asset", JSIConverter<bool>::toJSI(runtime, arg.packager_asset));
|
|
74
|
-
obj.setProperty(runtime, "height", JSIConverter<double>::toJSI(runtime, arg.height));
|
|
75
|
-
obj.setProperty(runtime, "width", JSIConverter<double>::toJSI(runtime, arg.width));
|
|
76
|
-
obj.setProperty(runtime, "scale", JSIConverter<double>::toJSI(runtime, arg.scale));
|
|
77
|
-
obj.setProperty(runtime, "uri", JSIConverter<std::string>::toJSI(runtime, arg.uri));
|
|
80
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "color"), JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>>::toJSI(runtime, arg.color));
|
|
81
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "packager_asset"), JSIConverter<bool>::toJSI(runtime, arg.packager_asset));
|
|
82
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "height"), JSIConverter<double>::toJSI(runtime, arg.height));
|
|
83
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "width"), JSIConverter<double>::toJSI(runtime, arg.width));
|
|
84
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "scale"), JSIConverter<double>::toJSI(runtime, arg.scale));
|
|
85
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "uri"), JSIConverter<std::string>::toJSI(runtime, arg.uri));
|
|
78
86
|
return obj;
|
|
79
87
|
}
|
|
80
88
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -85,12 +93,12 @@ namespace margelo::nitro {
|
|
|
85
93
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
86
94
|
return false;
|
|
87
95
|
}
|
|
88
|
-
if (!JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>>::canConvert(runtime, obj.getProperty(runtime, "color"))) return false;
|
|
89
|
-
if (!JSIConverter<bool>::canConvert(runtime, obj.getProperty(runtime, "packager_asset"))) return false;
|
|
90
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "height"))) return false;
|
|
91
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "width"))) return false;
|
|
92
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "scale"))) return false;
|
|
93
|
-
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "uri"))) return false;
|
|
96
|
+
if (!JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "color")))) return false;
|
|
97
|
+
if (!JSIConverter<bool>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "packager_asset")))) return false;
|
|
98
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "height")))) return false;
|
|
99
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "width")))) return false;
|
|
100
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "scale")))) return false;
|
|
101
|
+
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "uri")))) return false;
|
|
94
102
|
return true;
|
|
95
103
|
}
|
|
96
104
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// AutoText.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
// Forward declaration of `Distance` to properly resolve imports.
|
|
27
32
|
namespace margelo::nitro::swe::iternio::reactnativeautoplay { struct Distance; }
|
|
@@ -35,7 +40,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
35
40
|
/**
|
|
36
41
|
* A struct which can be represented as a JavaScript object (AutoText).
|
|
37
42
|
*/
|
|
38
|
-
struct AutoText {
|
|
43
|
+
struct AutoText final {
|
|
39
44
|
public:
|
|
40
45
|
std::string text SWIFT_PRIVATE;
|
|
41
46
|
std::optional<Distance> distance SWIFT_PRIVATE;
|
|
@@ -44,6 +49,9 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
44
49
|
public:
|
|
45
50
|
AutoText() = default;
|
|
46
51
|
explicit AutoText(std::string text, std::optional<Distance> distance, std::optional<double> duration): text(text), distance(distance), duration(duration) {}
|
|
52
|
+
|
|
53
|
+
public:
|
|
54
|
+
friend bool operator==(const AutoText& lhs, const AutoText& rhs) = default;
|
|
47
55
|
};
|
|
48
56
|
|
|
49
57
|
} // namespace margelo::nitro::swe::iternio::reactnativeautoplay
|
|
@@ -56,16 +64,16 @@ namespace margelo::nitro {
|
|
|
56
64
|
static inline margelo::nitro::swe::iternio::reactnativeautoplay::AutoText fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
57
65
|
jsi::Object obj = arg.asObject(runtime);
|
|
58
66
|
return margelo::nitro::swe::iternio::reactnativeautoplay::AutoText(
|
|
59
|
-
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "text")),
|
|
60
|
-
JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::Distance>>::fromJSI(runtime, obj.getProperty(runtime, "distance")),
|
|
61
|
-
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "duration"))
|
|
67
|
+
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "text"))),
|
|
68
|
+
JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::Distance>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "distance"))),
|
|
69
|
+
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "duration")))
|
|
62
70
|
);
|
|
63
71
|
}
|
|
64
72
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::swe::iternio::reactnativeautoplay::AutoText& arg) {
|
|
65
73
|
jsi::Object obj(runtime);
|
|
66
|
-
obj.setProperty(runtime, "text", JSIConverter<std::string>::toJSI(runtime, arg.text));
|
|
67
|
-
obj.setProperty(runtime, "distance", JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::Distance>>::toJSI(runtime, arg.distance));
|
|
68
|
-
obj.setProperty(runtime, "duration", JSIConverter<std::optional<double>>::toJSI(runtime, arg.duration));
|
|
74
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "text"), JSIConverter<std::string>::toJSI(runtime, arg.text));
|
|
75
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "distance"), JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::Distance>>::toJSI(runtime, arg.distance));
|
|
76
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "duration"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.duration));
|
|
69
77
|
return obj;
|
|
70
78
|
}
|
|
71
79
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -76,9 +84,9 @@ namespace margelo::nitro {
|
|
|
76
84
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
77
85
|
return false;
|
|
78
86
|
}
|
|
79
|
-
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "text"))) return false;
|
|
80
|
-
if (!JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::Distance>>::canConvert(runtime, obj.getProperty(runtime, "distance"))) return false;
|
|
81
|
-
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "duration"))) return false;
|
|
87
|
+
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "text")))) return false;
|
|
88
|
+
if (!JSIConverter<std::optional<margelo::nitro::swe::iternio::reactnativeautoplay::Distance>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "distance")))) return false;
|
|
89
|
+
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "duration")))) return false;
|
|
82
90
|
return true;
|
|
83
91
|
}
|
|
84
92
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// BooleanTelemetryItem.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
|
|
27
32
|
|
|
@@ -32,7 +37,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
32
37
|
/**
|
|
33
38
|
* A struct which can be represented as a JavaScript object (BooleanTelemetryItem).
|
|
34
39
|
*/
|
|
35
|
-
struct BooleanTelemetryItem {
|
|
40
|
+
struct BooleanTelemetryItem final {
|
|
36
41
|
public:
|
|
37
42
|
double timestamp SWIFT_PRIVATE;
|
|
38
43
|
bool value SWIFT_PRIVATE;
|
|
@@ -40,6 +45,9 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
40
45
|
public:
|
|
41
46
|
BooleanTelemetryItem() = default;
|
|
42
47
|
explicit BooleanTelemetryItem(double timestamp, bool value): timestamp(timestamp), value(value) {}
|
|
48
|
+
|
|
49
|
+
public:
|
|
50
|
+
friend bool operator==(const BooleanTelemetryItem& lhs, const BooleanTelemetryItem& rhs) = default;
|
|
43
51
|
};
|
|
44
52
|
|
|
45
53
|
} // namespace margelo::nitro::swe::iternio::reactnativeautoplay
|
|
@@ -52,14 +60,14 @@ namespace margelo::nitro {
|
|
|
52
60
|
static inline margelo::nitro::swe::iternio::reactnativeautoplay::BooleanTelemetryItem fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
53
61
|
jsi::Object obj = arg.asObject(runtime);
|
|
54
62
|
return margelo::nitro::swe::iternio::reactnativeautoplay::BooleanTelemetryItem(
|
|
55
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "timestamp")),
|
|
56
|
-
JSIConverter<bool>::fromJSI(runtime, obj.getProperty(runtime, "value"))
|
|
63
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "timestamp"))),
|
|
64
|
+
JSIConverter<bool>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "value")))
|
|
57
65
|
);
|
|
58
66
|
}
|
|
59
67
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::swe::iternio::reactnativeautoplay::BooleanTelemetryItem& arg) {
|
|
60
68
|
jsi::Object obj(runtime);
|
|
61
|
-
obj.setProperty(runtime, "timestamp", JSIConverter<double>::toJSI(runtime, arg.timestamp));
|
|
62
|
-
obj.setProperty(runtime, "value", JSIConverter<bool>::toJSI(runtime, arg.value));
|
|
69
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "timestamp"), JSIConverter<double>::toJSI(runtime, arg.timestamp));
|
|
70
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "value"), JSIConverter<bool>::toJSI(runtime, arg.value));
|
|
63
71
|
return obj;
|
|
64
72
|
}
|
|
65
73
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -70,8 +78,8 @@ namespace margelo::nitro {
|
|
|
70
78
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
71
79
|
return false;
|
|
72
80
|
}
|
|
73
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "timestamp"))) return false;
|
|
74
|
-
if (!JSIConverter<bool>::canConvert(runtime, obj.getProperty(runtime, "value"))) return false;
|
|
81
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "timestamp")))) return false;
|
|
82
|
+
if (!JSIConverter<bool>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "value")))) return false;
|
|
75
83
|
return true;
|
|
76
84
|
}
|
|
77
85
|
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// CarUxRestrictions.hpp
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#if __has_include(<NitroModules/JSIConverter.hpp>)
|
|
11
|
+
#include <NitroModules/JSIConverter.hpp>
|
|
12
|
+
#else
|
|
13
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
14
|
+
#endif
|
|
15
|
+
#if __has_include(<NitroModules/NitroDefines.hpp>)
|
|
16
|
+
#include <NitroModules/NitroDefines.hpp>
|
|
17
|
+
#else
|
|
18
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
19
|
+
#endif
|
|
20
|
+
|
|
21
|
+
namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* An enum which can be represented as a JavaScript enum (CarUxRestrictions).
|
|
25
|
+
*/
|
|
26
|
+
enum class CarUxRestrictions {
|
|
27
|
+
UX_RESTRICTIONS_FULLY_RESTRICTED SWIFT_NAME(uxRestrictionsFullyRestricted) = 511,
|
|
28
|
+
UX_RESTRICTIONS_LIMIT_CONTENT SWIFT_NAME(uxRestrictionsLimitContent) = 32,
|
|
29
|
+
UX_RESTRICTIONS_LIMIT_STRING_LENGTH SWIFT_NAME(uxRestrictionsLimitStringLength) = 4,
|
|
30
|
+
UX_RESTRICTIONS_NO_DIALPAD SWIFT_NAME(uxRestrictionsNoDialpad) = 1,
|
|
31
|
+
UX_RESTRICTIONS_NO_FILTERING SWIFT_NAME(uxRestrictionsNoFiltering) = 2,
|
|
32
|
+
UX_RESTRICTIONS_NO_KEYBOARD SWIFT_NAME(uxRestrictionsNoKeyboard) = 8,
|
|
33
|
+
UX_RESTRICTIONS_NO_SETUP SWIFT_NAME(uxRestrictionsNoSetup) = 64,
|
|
34
|
+
UX_RESTRICTIONS_NO_TEXT_MESSAGE SWIFT_NAME(uxRestrictionsNoTextMessage) = 128,
|
|
35
|
+
UX_RESTRICTIONS_NO_VIDEO SWIFT_NAME(uxRestrictionsNoVideo) = 16,
|
|
36
|
+
UX_RESTRICTIONS_NO_VOICE_TRANSCRIPTION SWIFT_NAME(uxRestrictionsNoVoiceTranscription) = 256,
|
|
37
|
+
} CLOSED_ENUM;
|
|
38
|
+
|
|
39
|
+
} // namespace margelo::nitro::swe::iternio::reactnativeautoplay
|
|
40
|
+
|
|
41
|
+
namespace margelo::nitro {
|
|
42
|
+
|
|
43
|
+
// C++ CarUxRestrictions <> JS CarUxRestrictions (enum)
|
|
44
|
+
template <>
|
|
45
|
+
struct JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::CarUxRestrictions> final {
|
|
46
|
+
static inline margelo::nitro::swe::iternio::reactnativeautoplay::CarUxRestrictions fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
47
|
+
int enumValue = JSIConverter<int>::fromJSI(runtime, arg);
|
|
48
|
+
return static_cast<margelo::nitro::swe::iternio::reactnativeautoplay::CarUxRestrictions>(enumValue);
|
|
49
|
+
}
|
|
50
|
+
static inline jsi::Value toJSI(jsi::Runtime& runtime, margelo::nitro::swe::iternio::reactnativeautoplay::CarUxRestrictions arg) {
|
|
51
|
+
int enumValue = static_cast<int>(arg);
|
|
52
|
+
return JSIConverter<int>::toJSI(runtime, enumValue);
|
|
53
|
+
}
|
|
54
|
+
static inline bool canConvert(jsi::Runtime&, const jsi::Value& value) {
|
|
55
|
+
if (!value.isNumber()) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
double number = value.getNumber();
|
|
59
|
+
int integer = static_cast<int>(number);
|
|
60
|
+
if (number != integer) {
|
|
61
|
+
// The integer is not the same value as the double - we truncated floating points.
|
|
62
|
+
// Enums are all integers, so the input floating point number is obviously invalid.
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
switch (integer) {
|
|
66
|
+
case 511 /* UX_RESTRICTIONS_FULLY_RESTRICTED */: return true;
|
|
67
|
+
case 32 /* UX_RESTRICTIONS_LIMIT_CONTENT */: return true;
|
|
68
|
+
case 4 /* UX_RESTRICTIONS_LIMIT_STRING_LENGTH */: return true;
|
|
69
|
+
case 1 /* UX_RESTRICTIONS_NO_DIALPAD */: return true;
|
|
70
|
+
case 2 /* UX_RESTRICTIONS_NO_FILTERING */: return true;
|
|
71
|
+
case 8 /* UX_RESTRICTIONS_NO_KEYBOARD */: return true;
|
|
72
|
+
case 64 /* UX_RESTRICTIONS_NO_SETUP */: return true;
|
|
73
|
+
case 128 /* UX_RESTRICTIONS_NO_TEXT_MESSAGE */: return true;
|
|
74
|
+
case 16 /* UX_RESTRICTIONS_NO_VIDEO */: return true;
|
|
75
|
+
case 256 /* UX_RESTRICTIONS_NO_VOICE_TRANSCRIPTION */: return true;
|
|
76
|
+
default: return false;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
} // namespace margelo::nitro
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// Distance.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
// Forward declaration of `DistanceUnits` to properly resolve imports.
|
|
27
32
|
namespace margelo::nitro::swe::iternio::reactnativeautoplay { enum class DistanceUnits; }
|
|
@@ -33,7 +38,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
33
38
|
/**
|
|
34
39
|
* A struct which can be represented as a JavaScript object (Distance).
|
|
35
40
|
*/
|
|
36
|
-
struct Distance {
|
|
41
|
+
struct Distance final {
|
|
37
42
|
public:
|
|
38
43
|
double value SWIFT_PRIVATE;
|
|
39
44
|
DistanceUnits unit SWIFT_PRIVATE;
|
|
@@ -41,6 +46,9 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
41
46
|
public:
|
|
42
47
|
Distance() = default;
|
|
43
48
|
explicit Distance(double value, DistanceUnits unit): value(value), unit(unit) {}
|
|
49
|
+
|
|
50
|
+
public:
|
|
51
|
+
friend bool operator==(const Distance& lhs, const Distance& rhs) = default;
|
|
44
52
|
};
|
|
45
53
|
|
|
46
54
|
} // namespace margelo::nitro::swe::iternio::reactnativeautoplay
|
|
@@ -53,14 +61,14 @@ namespace margelo::nitro {
|
|
|
53
61
|
static inline margelo::nitro::swe::iternio::reactnativeautoplay::Distance fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
54
62
|
jsi::Object obj = arg.asObject(runtime);
|
|
55
63
|
return margelo::nitro::swe::iternio::reactnativeautoplay::Distance(
|
|
56
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "value")),
|
|
57
|
-
JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::DistanceUnits>::fromJSI(runtime, obj.getProperty(runtime, "unit"))
|
|
64
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "value"))),
|
|
65
|
+
JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::DistanceUnits>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "unit")))
|
|
58
66
|
);
|
|
59
67
|
}
|
|
60
68
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::swe::iternio::reactnativeautoplay::Distance& arg) {
|
|
61
69
|
jsi::Object obj(runtime);
|
|
62
|
-
obj.setProperty(runtime, "value", JSIConverter<double>::toJSI(runtime, arg.value));
|
|
63
|
-
obj.setProperty(runtime, "unit", JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::DistanceUnits>::toJSI(runtime, arg.unit));
|
|
70
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "value"), JSIConverter<double>::toJSI(runtime, arg.value));
|
|
71
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "unit"), JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::DistanceUnits>::toJSI(runtime, arg.unit));
|
|
64
72
|
return obj;
|
|
65
73
|
}
|
|
66
74
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -71,8 +79,8 @@ namespace margelo::nitro {
|
|
|
71
79
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
72
80
|
return false;
|
|
73
81
|
}
|
|
74
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "value"))) return false;
|
|
75
|
-
if (!JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::DistanceUnits>::canConvert(runtime, obj.getProperty(runtime, "unit"))) return false;
|
|
82
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "value")))) return false;
|
|
83
|
+
if (!JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::DistanceUnits>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "unit")))) return false;
|
|
76
84
|
return true;
|
|
77
85
|
}
|
|
78
86
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// DurationWithTimeZone.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
|
|
27
32
|
|
|
@@ -32,7 +37,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
32
37
|
/**
|
|
33
38
|
* A struct which can be represented as a JavaScript object (DurationWithTimeZone).
|
|
34
39
|
*/
|
|
35
|
-
struct DurationWithTimeZone {
|
|
40
|
+
struct DurationWithTimeZone final {
|
|
36
41
|
public:
|
|
37
42
|
std::string timezone SWIFT_PRIVATE;
|
|
38
43
|
double seconds SWIFT_PRIVATE;
|
|
@@ -40,6 +45,9 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
40
45
|
public:
|
|
41
46
|
DurationWithTimeZone() = default;
|
|
42
47
|
explicit DurationWithTimeZone(std::string timezone, double seconds): timezone(timezone), seconds(seconds) {}
|
|
48
|
+
|
|
49
|
+
public:
|
|
50
|
+
friend bool operator==(const DurationWithTimeZone& lhs, const DurationWithTimeZone& rhs) = default;
|
|
43
51
|
};
|
|
44
52
|
|
|
45
53
|
} // namespace margelo::nitro::swe::iternio::reactnativeautoplay
|
|
@@ -52,14 +60,14 @@ namespace margelo::nitro {
|
|
|
52
60
|
static inline margelo::nitro::swe::iternio::reactnativeautoplay::DurationWithTimeZone fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
53
61
|
jsi::Object obj = arg.asObject(runtime);
|
|
54
62
|
return margelo::nitro::swe::iternio::reactnativeautoplay::DurationWithTimeZone(
|
|
55
|
-
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "timezone")),
|
|
56
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "seconds"))
|
|
63
|
+
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "timezone"))),
|
|
64
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "seconds")))
|
|
57
65
|
);
|
|
58
66
|
}
|
|
59
67
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::swe::iternio::reactnativeautoplay::DurationWithTimeZone& arg) {
|
|
60
68
|
jsi::Object obj(runtime);
|
|
61
|
-
obj.setProperty(runtime, "timezone", JSIConverter<std::string>::toJSI(runtime, arg.timezone));
|
|
62
|
-
obj.setProperty(runtime, "seconds", JSIConverter<double>::toJSI(runtime, arg.seconds));
|
|
69
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "timezone"), JSIConverter<std::string>::toJSI(runtime, arg.timezone));
|
|
70
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "seconds"), JSIConverter<double>::toJSI(runtime, arg.seconds));
|
|
63
71
|
return obj;
|
|
64
72
|
}
|
|
65
73
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -70,8 +78,8 @@ namespace margelo::nitro {
|
|
|
70
78
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
71
79
|
return false;
|
|
72
80
|
}
|
|
73
|
-
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "timezone"))) return false;
|
|
74
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "seconds"))) return false;
|
|
81
|
+
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "timezone")))) return false;
|
|
82
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "seconds")))) return false;
|
|
75
83
|
return true;
|
|
76
84
|
}
|
|
77
85
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// GlyphImage.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
// Forward declaration of `NitroColor` to properly resolve imports.
|
|
27
32
|
namespace margelo::nitro::swe::iternio::reactnativeautoplay { struct NitroColor; }
|
|
@@ -34,7 +39,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
34
39
|
/**
|
|
35
40
|
* A struct which can be represented as a JavaScript object (GlyphImage).
|
|
36
41
|
*/
|
|
37
|
-
struct GlyphImage {
|
|
42
|
+
struct GlyphImage final {
|
|
38
43
|
public:
|
|
39
44
|
double glyph SWIFT_PRIVATE;
|
|
40
45
|
NitroColor color SWIFT_PRIVATE;
|
|
@@ -44,6 +49,9 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
44
49
|
public:
|
|
45
50
|
GlyphImage() = default;
|
|
46
51
|
explicit GlyphImage(double glyph, NitroColor color, NitroColor backgroundColor, std::optional<double> fontScale): glyph(glyph), color(color), backgroundColor(backgroundColor), fontScale(fontScale) {}
|
|
52
|
+
|
|
53
|
+
public:
|
|
54
|
+
friend bool operator==(const GlyphImage& lhs, const GlyphImage& rhs) = default;
|
|
47
55
|
};
|
|
48
56
|
|
|
49
57
|
} // namespace margelo::nitro::swe::iternio::reactnativeautoplay
|
|
@@ -56,18 +64,18 @@ namespace margelo::nitro {
|
|
|
56
64
|
static inline margelo::nitro::swe::iternio::reactnativeautoplay::GlyphImage fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
57
65
|
jsi::Object obj = arg.asObject(runtime);
|
|
58
66
|
return margelo::nitro::swe::iternio::reactnativeautoplay::GlyphImage(
|
|
59
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "glyph")),
|
|
60
|
-
JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::fromJSI(runtime, obj.getProperty(runtime, "color")),
|
|
61
|
-
JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::fromJSI(runtime, obj.getProperty(runtime, "backgroundColor")),
|
|
62
|
-
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "fontScale"))
|
|
67
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "glyph"))),
|
|
68
|
+
JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "color"))),
|
|
69
|
+
JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "backgroundColor"))),
|
|
70
|
+
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "fontScale")))
|
|
63
71
|
);
|
|
64
72
|
}
|
|
65
73
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::swe::iternio::reactnativeautoplay::GlyphImage& arg) {
|
|
66
74
|
jsi::Object obj(runtime);
|
|
67
|
-
obj.setProperty(runtime, "glyph", JSIConverter<double>::toJSI(runtime, arg.glyph));
|
|
68
|
-
obj.setProperty(runtime, "color", JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::toJSI(runtime, arg.color));
|
|
69
|
-
obj.setProperty(runtime, "backgroundColor", JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::toJSI(runtime, arg.backgroundColor));
|
|
70
|
-
obj.setProperty(runtime, "fontScale", JSIConverter<std::optional<double>>::toJSI(runtime, arg.fontScale));
|
|
75
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "glyph"), JSIConverter<double>::toJSI(runtime, arg.glyph));
|
|
76
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "color"), JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::toJSI(runtime, arg.color));
|
|
77
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "backgroundColor"), JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::toJSI(runtime, arg.backgroundColor));
|
|
78
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "fontScale"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.fontScale));
|
|
71
79
|
return obj;
|
|
72
80
|
}
|
|
73
81
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -78,10 +86,10 @@ namespace margelo::nitro {
|
|
|
78
86
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
79
87
|
return false;
|
|
80
88
|
}
|
|
81
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "glyph"))) return false;
|
|
82
|
-
if (!JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::canConvert(runtime, obj.getProperty(runtime, "color"))) return false;
|
|
83
|
-
if (!JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::canConvert(runtime, obj.getProperty(runtime, "backgroundColor"))) return false;
|
|
84
|
-
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "fontScale"))) return false;
|
|
89
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "glyph")))) return false;
|
|
90
|
+
if (!JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "color")))) return false;
|
|
91
|
+
if (!JSIConverter<margelo::nitro::swe::iternio::reactnativeautoplay::NitroColor>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "backgroundColor")))) return false;
|
|
92
|
+
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "fontScale")))) return false;
|
|
85
93
|
return true;
|
|
86
94
|
}
|
|
87
95
|
};
|