@iternio/react-native-auto-play 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -10
- package/android/src/automotive/AndroidManifest-nonnav.xml +0 -2
- package/android/src/automotive/AndroidManifest.xml +0 -2
- package/android/src/main/AndroidManifest-nonnav.xml +0 -2
- package/android/src/main/AndroidManifest.xml +0 -2
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/AndroidAutoService.kt +3 -27
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAutoPlayTiming.kt +122 -0
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/template/Parser.kt +49 -14
- package/installTimers.ts +3 -0
- package/installTimers.web.ts +2 -0
- package/ios/hybrid/HybridAutoPlayTiming.swift +123 -0
- package/jest.js +2 -0
- package/lib/components/SafeAreaView.js +1 -1
- package/lib/hybrid/HybridAutoPlayTiming.d.ts +2 -0
- package/lib/hybrid/HybridAutoPlayTiming.js +2 -0
- package/lib/hybrid/HybridVoice.js +2 -2
- package/lib/index.js +0 -2
- package/lib/index.web.d.ts +75 -0
- package/lib/index.web.js +72 -1
- package/lib/installTimers.d.ts +1 -0
- package/lib/installTimers.js +8 -0
- package/lib/installTimers.web.d.ts +1 -0
- package/lib/installTimers.web.js +2 -0
- package/lib/scenes/CarPlayDashboardScene.d.ts +3 -3
- package/lib/specs/AutoPlayTiming.nitro.d.ts +27 -0
- package/lib/specs/AutoPlayTiming.nitro.js +1 -0
- package/lib/types/Image.d.ts +6 -1
- package/lib/types/Telemetry.d.ts +1 -1
- package/lib/utils/AutoPlayTimers.d.ts +21 -0
- package/lib/utils/AutoPlayTimers.js +45 -0
- package/lib/utils/NitroColor.d.ts +1 -0
- package/lib/utils/NitroColor.js +8 -0
- package/lib/utils/NitroImage.d.ts +5 -2
- package/lib/utils/NitroImage.js +2 -2
- package/lib/utils/NitroManeuver.js +1 -3
- package/lib-cjs/Constants.js +9 -0
- package/lib-cjs/components/MapTemplateContext.js +10 -0
- package/lib-cjs/components/SafeAreaInsetsContext.js +21 -0
- package/lib-cjs/components/SafeAreaView.js +22 -0
- package/lib-cjs/components/WindowInformationWrapper.js +20 -0
- package/lib-cjs/hooks/useAndroidAutoTelemetry.js +115 -0
- package/lib-cjs/hooks/useFocusedEffect.js +35 -0
- package/lib-cjs/hooks/useMapTemplate.js +13 -0
- package/lib-cjs/hooks/useSafeAreaInsets.js +9 -0
- package/lib-cjs/hooks/useVoiceInput.js +42 -0
- package/lib-cjs/hybrid/HybridAndroidAutoTelemetry.js +4 -0
- package/lib-cjs/hybrid/HybridAndroidWindowInformation.js +4 -0
- package/lib-cjs/hybrid/HybridAutoPlay.js +5 -0
- package/lib-cjs/hybrid/HybridVoice.js +61 -0
- package/lib-cjs/index.js +71 -0
- package/lib-cjs/index.web.js +98 -0
- package/lib-cjs/scenes/AutoPlayCluster.js +140 -0
- package/lib-cjs/scenes/CarPlayDashboardScene.js +100 -0
- package/lib-cjs/specs/AndroidAutoTelemetry.nitro.js +2 -0
- package/lib-cjs/specs/AndroidAutomotive.nitro.js +16 -0
- package/lib-cjs/specs/AndroidWindowInformation.nitro.js +2 -0
- package/lib-cjs/specs/AutoPlay.nitro.js +2 -0
- package/lib-cjs/specs/CarPlayDashboard.nitro.js +2 -0
- package/lib-cjs/specs/Cluster.nitro.js +2 -0
- package/lib-cjs/specs/GridTemplate.nitro.js +2 -0
- package/lib-cjs/specs/InformationTemplate.nitro.js +2 -0
- package/lib-cjs/specs/ListTemplate.nitro.js +2 -0
- package/lib-cjs/specs/MapTemplate.nitro.js +2 -0
- package/lib-cjs/specs/MessageTemplate.nitro.js +2 -0
- package/lib-cjs/specs/SearchTemplate.nitro.js +2 -0
- package/lib-cjs/specs/SignInTemplate.nitro.js +2 -0
- package/lib-cjs/specs/Voice.nitro.js +2 -0
- package/lib-cjs/templates/GridTemplate.js +41 -0
- package/lib-cjs/templates/InformationTemplate.js +49 -0
- package/lib-cjs/templates/ListTemplate.js +33 -0
- package/lib-cjs/templates/MapTemplate.js +168 -0
- package/lib-cjs/templates/MessageTemplate.js +50 -0
- package/lib-cjs/templates/SearchTemplate.js +32 -0
- package/lib-cjs/templates/SignInTemplate.js +55 -0
- package/lib-cjs/templates/Template.js +40 -0
- package/lib-cjs/types/Button.js +12 -0
- package/lib-cjs/types/Event.js +2 -0
- package/lib-cjs/types/Image.js +2 -0
- package/lib-cjs/types/Maneuver.js +77 -0
- package/lib-cjs/types/RootComponent.js +2 -0
- package/lib-cjs/types/SignInMethod.js +22 -0
- package/lib-cjs/types/Telemetry.js +24 -0
- package/lib-cjs/types/Text.js +8 -0
- package/lib-cjs/types/Trip.js +2 -0
- package/lib-cjs/types/Voice.js +2 -0
- package/lib-cjs/utils/ErrorUtil.js +34 -0
- package/lib-cjs/utils/NitroAction.js +129 -0
- package/lib-cjs/utils/NitroAlert.js +19 -0
- package/lib-cjs/utils/NitroAttributedString.js +14 -0
- package/lib-cjs/utils/NitroColor.js +32 -0
- package/lib-cjs/utils/NitroGrid.js +12 -0
- package/lib-cjs/utils/NitroImage.js +97 -0
- package/lib-cjs/utils/NitroManeuver.js +79 -0
- package/lib-cjs/utils/NitroMapButton.js +33 -0
- package/lib-cjs/utils/NitroOptionsPanel.js +66 -0
- package/lib-cjs/utils/NitroSection.js +112 -0
- package/nitro.json +10 -0
- package/nitrogen/generated/android/ReactNativeAutoPlay+autolinking.cmake +2 -0
- package/nitrogen/generated/android/ReactNativeAutoPlayOnLoad.cpp +16 -0
- package/nitrogen/generated/android/c++/JActiveCarUxRestrictions.hpp +1 -1
- package/nitrogen/generated/android/c++/JAlertActionStyle.hpp +1 -1
- package/nitrogen/generated/android/c++/JAlertDismissalReason.hpp +1 -1
- package/nitrogen/generated/android/c++/JAppFocusState.hpp +1 -1
- package/nitrogen/generated/android/c++/JAssetImage.hpp +18 -18
- 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 +1 -1
- package/nitrogen/generated/android/c++/JChargingConnector.hpp +1 -1
- package/nitrogen/generated/android/c++/JClusterEventName.hpp +1 -1
- package/nitrogen/generated/android/c++/JColorScheme.hpp +1 -1
- package/nitrogen/generated/android/c++/JDistance.hpp +1 -1
- package/nitrogen/generated/android/c++/JDistanceUnits.hpp +1 -1
- package/nitrogen/generated/android/c++/JDurationWithTimeZone.hpp +1 -1
- package/nitrogen/generated/android/c++/JEventName.hpp +1 -1
- package/nitrogen/generated/android/c++/JForkType.hpp +1 -1
- package/nitrogen/generated/android/c++/JGlyphImage.hpp +1 -1
- package/nitrogen/generated/android/c++/JGoogleSignIn.hpp +1 -1
- package/nitrogen/generated/android/c++/JGoogleSignInAccount.hpp +1 -1
- package/nitrogen/generated/android/c++/JGridImageSize.hpp +1 -1
- package/nitrogen/generated/android/c++/JGridTemplateConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JHybridAutoPlayTimingSpec.cpp +59 -0
- package/nitrogen/generated/android/c++/JHybridAutoPlayTimingSpec.hpp +64 -0
- 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 +1 -1
- package/nitrogen/generated/android/c++/JKeyboardType.hpp +1 -1
- package/nitrogen/generated/android/c++/JLaneGuidance.hpp +1 -1
- package/nitrogen/generated/android/c++/JListImageType.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++/JManeuverState.hpp +1 -1
- package/nitrogen/generated/android/c++/JManeuverType.hpp +1 -1
- 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 +1 -1
- package/nitrogen/generated/android/c++/JNitroAlignment.hpp +1 -1
- 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 +1 -1
- package/nitrogen/generated/android/c++/JNitroChargerLocation.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroChargerOutlet.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroColor.hpp +9 -5
- package/nitrogen/generated/android/c++/JNitroGridButton.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroLoadingManeuver.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroMapButton.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroMapButtonType.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroMessageManeuver.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroNavigationAlert.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroOptionsPanelChargerSection.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroOptionsPanelConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroOptionsPanelGridSection.hpp +1 -1
- package/nitrogen/generated/android/c++/JNitroRoutingManeuver.hpp +1 -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 +1 -1
- package/nitrogen/generated/android/c++/JNumericTelemetryItem.hpp +1 -1
- package/nitrogen/generated/android/c++/JOffRampType.hpp +1 -1
- package/nitrogen/generated/android/c++/JOnRampType.hpp +1 -1
- 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++/JRemoteImage.hpp +1 -1
- package/nitrogen/generated/android/c++/JRouteChoice.hpp +1 -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 +1 -1
- 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 +1 -1
- package/nitrogen/generated/android/c++/JTextInputType.hpp +1 -1
- package/nitrogen/generated/android/c++/JTrafficSide.hpp +1 -1
- package/nitrogen/generated/android/c++/JTravelEstimates.hpp +1 -1
- package/nitrogen/generated/android/c++/JTripConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JTripPoint.hpp +1 -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 +1 -1
- package/nitrogen/generated/android/c++/JTurnType.hpp +1 -1
- package/nitrogen/generated/android/c++/JVehicleTelemetryItem.hpp +1 -1
- package/nitrogen/generated/android/c++/JVisibilityState.hpp +1 -1
- package/nitrogen/generated/android/c++/JVisibleTravelEstimate.hpp +1 -1
- package/nitrogen/generated/android/c++/JVoiceAudioEncoding.hpp +1 -1
- package/nitrogen/generated/android/c++/JVoiceInputChunk.hpp +1 -1
- package/nitrogen/generated/android/c++/JVoiceInputResult.hpp +1 -1
- package/nitrogen/generated/android/c++/JWaypointCoordinate.hpp +1 -1
- package/nitrogen/generated/android/c++/JWindowInformation.hpp +1 -1
- package/nitrogen/generated/android/c++/JZoomEvent.hpp +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/AssetImage.kt +15 -15
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_ActiveCarUxRestrictions.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_AlertDismissalReason.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_AppFocusState.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_ColorScheme.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_Point.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_Point_double.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_Point_std__optional_Point_.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_SafeAreaInsets.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_VisibilityState.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_VoiceInputChunk.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_WindowInformation.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_bool.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__optional_Location__std__optional_std__string_.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__optional_Telemetry_.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__optional_bool_.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__optional_std__string__std__optional_GoogleSignInAccount_.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string_ColorScheme.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string_ZoomEvent.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string_bool.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/Func_void_std__string_std__string.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAndroidAutoTelemetrySpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAndroidAutomotiveSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAndroidWindowInformationSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAutoPlaySpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAutoPlayTimingSpec.kt +65 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridClusterSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridGridTemplateSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridInformationTemplateSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridListTemplateSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridMapTemplateSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridMessageTemplateSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridSearchTemplateSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridSignInTemplateSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/HybridVoiceSpec.kt +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/swe/iternio/reactnativeautoplay/NitroColor.kt +9 -4
- package/nitrogen/generated/ios/ReactNativeAutoPlay-Swift-Cxx-Bridge.cpp +17 -0
- package/nitrogen/generated/ios/ReactNativeAutoPlay-Swift-Cxx-Bridge.hpp +35 -9
- package/nitrogen/generated/ios/ReactNativeAutoPlay-Swift-Cxx-Umbrella.hpp +5 -0
- package/nitrogen/generated/ios/ReactNativeAutoPlayAutolinking.mm +8 -0
- package/nitrogen/generated/ios/ReactNativeAutoPlayAutolinking.swift +12 -0
- package/nitrogen/generated/ios/c++/HybridAutoPlayTimingSpecSwift.cpp +11 -0
- package/nitrogen/generated/ios/c++/HybridAutoPlayTimingSpecSwift.hpp +88 -0
- package/nitrogen/generated/ios/swift/AssetImage.swift +13 -13
- package/nitrogen/generated/ios/swift/HybridAutoPlayTimingSpec.swift +56 -0
- package/nitrogen/generated/ios/swift/HybridAutoPlayTimingSpec_cxx.swift +154 -0
- package/nitrogen/generated/ios/swift/NitroColor.swift +20 -2
- package/nitrogen/generated/shared/c++/AssetImage.hpp +18 -18
- package/nitrogen/generated/shared/c++/HybridAutoPlayTimingSpec.cpp +22 -0
- package/nitrogen/generated/shared/c++/HybridAutoPlayTimingSpec.hpp +63 -0
- package/nitrogen/generated/shared/c++/NitroColor.hpp +7 -3
- package/package.json +12 -6
- package/src/components/SafeAreaView.tsx +1 -1
- package/src/hybrid/HybridAutoPlayTiming.ts +5 -0
- package/src/hybrid/HybridVoice.ts +2 -2
- package/src/index.ts +0 -3
- package/src/index.web.ts +166 -0
- package/src/installTimers.ts +9 -0
- package/src/installTimers.web.ts +2 -0
- package/src/specs/AutoPlayTiming.nitro.ts +25 -0
- package/src/types/Image.ts +6 -1
- package/src/types/Telemetry.ts +1 -1
- package/src/utils/AutoPlayTimers.ts +60 -0
- package/src/utils/NitroColor.ts +10 -1
- package/src/utils/NitroImage.ts +14 -8
- package/src/utils/NitroManeuver.ts +1 -4
- package/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/HeadlessTaskService.kt +0 -36
- package/lib/AutoPlayHeadlessJsTask.d.ts +0 -5
- package/lib/AutoPlayHeadlessJsTask.js +0 -14
- package/src/AutoPlayHeadlessJsTask.ts +0 -22
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// HybridAutoPlayTimingSpec.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
|
+
#include <NitroModules/JHybridObject.hpp>
|
|
11
|
+
#include <fbjni/fbjni.h>
|
|
12
|
+
#include "HybridAutoPlayTimingSpec.hpp"
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
18
|
+
|
|
19
|
+
using namespace facebook;
|
|
20
|
+
|
|
21
|
+
class JHybridAutoPlayTimingSpec: public virtual HybridAutoPlayTimingSpec, public virtual JHybridObject {
|
|
22
|
+
public:
|
|
23
|
+
struct JavaPart: public jni::JavaClass<JavaPart, JHybridObject::JavaPart> {
|
|
24
|
+
static constexpr auto kJavaDescriptor = "Lcom/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAutoPlayTimingSpec;";
|
|
25
|
+
std::shared_ptr<JHybridAutoPlayTimingSpec> getJHybridAutoPlayTimingSpec();
|
|
26
|
+
};
|
|
27
|
+
struct CxxPart: public jni::HybridClass<CxxPart, JHybridObject::CxxPart> {
|
|
28
|
+
static constexpr auto kJavaDescriptor = "Lcom/margelo/nitro/swe/iternio/reactnativeautoplay/HybridAutoPlayTimingSpec$CxxPart;";
|
|
29
|
+
static jni::local_ref<jhybriddata> initHybrid(jni::alias_ref<jhybridobject> jThis);
|
|
30
|
+
static void registerNatives();
|
|
31
|
+
using HybridBase::HybridBase;
|
|
32
|
+
protected:
|
|
33
|
+
std::shared_ptr<JHybridObject> createHybridObject(const jni::local_ref<JHybridObject::JavaPart>& javaPart) override;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
public:
|
|
37
|
+
explicit JHybridAutoPlayTimingSpec(const jni::local_ref<JHybridAutoPlayTimingSpec::JavaPart>& javaPart):
|
|
38
|
+
HybridObject(HybridAutoPlayTimingSpec::TAG),
|
|
39
|
+
JHybridObject(javaPart),
|
|
40
|
+
_javaPart(jni::make_global(javaPart)) {}
|
|
41
|
+
~JHybridAutoPlayTimingSpec() override {
|
|
42
|
+
// Hermes GC can destroy JS objects on a non-JNI Thread.
|
|
43
|
+
jni::ThreadScope::WithClassLoader([&] { _javaPart.reset(); });
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public:
|
|
47
|
+
inline const jni::global_ref<JHybridAutoPlayTimingSpec::JavaPart>& getJavaPart() const noexcept {
|
|
48
|
+
return _javaPart;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public:
|
|
52
|
+
// Properties
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
public:
|
|
56
|
+
// Methods
|
|
57
|
+
double createTimer(const std::function<void()>& callback, double durationMs, bool repeats) override;
|
|
58
|
+
void deleteTimer(double id) override;
|
|
59
|
+
|
|
60
|
+
private:
|
|
61
|
+
jni::global_ref<JHybridAutoPlayTimingSpec::JavaPart> _javaPart;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
} // namespace margelo::nitro::swe::iternio::reactnativeautoplay
|
|
@@ -29,7 +29,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
29
29
|
using namespace facebook;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* The C++ JNI bridge between the C++ struct "ImageLane" and the
|
|
32
|
+
* The C++ JNI bridge between the C++ struct "ImageLane" and the Kotlin data class "ImageLane".
|
|
33
33
|
*/
|
|
34
34
|
struct JImageLane final: public jni::JavaClass<JImageLane> {
|
|
35
35
|
public:
|
|
@@ -67,7 +67,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
67
67
|
using namespace facebook;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* The C++ JNI bridge between the C++ struct "InformationTemplateConfig" and the
|
|
70
|
+
* The C++ JNI bridge between the C++ struct "InformationTemplateConfig" and the Kotlin data class "InformationTemplateConfig".
|
|
71
71
|
*/
|
|
72
72
|
struct JInformationTemplateConfig final: public jni::JavaClass<JInformationTemplateConfig> {
|
|
73
73
|
public:
|
|
@@ -27,7 +27,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
27
27
|
using namespace facebook;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* The C++ JNI bridge between the C++ struct "InputSignIn" and the
|
|
30
|
+
* The C++ JNI bridge between the C++ struct "InputSignIn" and the Kotlin data class "InputSignIn".
|
|
31
31
|
*/
|
|
32
32
|
struct JInputSignIn final: public jni::JavaClass<JInputSignIn> {
|
|
33
33
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "KeepType" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "KeepType" and the Kotlin enum "KeepType".
|
|
19
19
|
*/
|
|
20
20
|
struct JKeepType final: public jni::JavaClass<JKeepType> {
|
|
21
21
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "KeyboardType" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "KeyboardType" and the Kotlin enum "KeyboardType".
|
|
19
19
|
*/
|
|
20
20
|
struct JKeyboardType final: public jni::JavaClass<JKeyboardType> {
|
|
21
21
|
public:
|
|
@@ -34,7 +34,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
34
34
|
using namespace facebook;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* The C++ JNI bridge between the C++ struct "LaneGuidance" and the
|
|
37
|
+
* The C++ JNI bridge between the C++ struct "LaneGuidance" and the Kotlin data class "LaneGuidance".
|
|
38
38
|
*/
|
|
39
39
|
struct JLaneGuidance final: public jni::JavaClass<JLaneGuidance> {
|
|
40
40
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "ListImageType" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "ListImageType" and the Kotlin enum "ListImageType".
|
|
19
19
|
*/
|
|
20
20
|
struct JListImageType final: public jni::JavaClass<JListImageType> {
|
|
21
21
|
public:
|
|
@@ -67,7 +67,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
67
67
|
using namespace facebook;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* The C++ JNI bridge between the C++ struct "ListTemplateConfig" and the
|
|
70
|
+
* The C++ JNI bridge between the C++ struct "ListTemplateConfig" and the Kotlin data class "ListTemplateConfig".
|
|
71
71
|
*/
|
|
72
72
|
struct JListTemplateConfig final: public jni::JavaClass<JListTemplateConfig> {
|
|
73
73
|
public:
|
|
@@ -17,7 +17,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
17
17
|
using namespace facebook;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* The C++ JNI bridge between the C++ struct "Location" and the
|
|
20
|
+
* The C++ JNI bridge between the C++ struct "Location" and the Kotlin data class "Location".
|
|
21
21
|
*/
|
|
22
22
|
struct JLocation final: public jni::JavaClass<JLocation> {
|
|
23
23
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "ManeuverState" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "ManeuverState" and the Kotlin enum "ManeuverState".
|
|
19
19
|
*/
|
|
20
20
|
struct JManeuverState final: public jni::JavaClass<JManeuverState> {
|
|
21
21
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "ManeuverType" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "ManeuverType" and the Kotlin enum "ManeuverType".
|
|
19
19
|
*/
|
|
20
20
|
struct JManeuverType final: public jni::JavaClass<JManeuverType> {
|
|
21
21
|
public:
|
|
@@ -57,7 +57,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
57
57
|
using namespace facebook;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* The C++ JNI bridge between the C++ struct "MapTemplateConfig" and the
|
|
60
|
+
* The C++ JNI bridge between the C++ struct "MapTemplateConfig" and the Kotlin data class "MapTemplateConfig".
|
|
61
61
|
*/
|
|
62
62
|
struct JMapTemplateConfig final: public jni::JavaClass<JMapTemplateConfig> {
|
|
63
63
|
public:
|
|
@@ -55,7 +55,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
55
55
|
using namespace facebook;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* The C++ JNI bridge between the C++ struct "MessageTemplateConfig" and the
|
|
58
|
+
* The C++ JNI bridge between the C++ struct "MessageTemplateConfig" and the Kotlin data class "MessageTemplateConfig".
|
|
59
59
|
*/
|
|
60
60
|
struct JMessageTemplateConfig final: public jni::JavaClass<JMessageTemplateConfig> {
|
|
61
61
|
public:
|
|
@@ -23,7 +23,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
23
23
|
using namespace facebook;
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
* The C++ JNI bridge between the C++ struct "NavigationAlertAction" and the
|
|
26
|
+
* The C++ JNI bridge between the C++ struct "NavigationAlertAction" and the Kotlin data class "NavigationAlertAction".
|
|
27
27
|
*/
|
|
28
28
|
struct JNavigationAlertAction final: public jni::JavaClass<JNavigationAlertAction> {
|
|
29
29
|
public:
|
|
@@ -37,7 +37,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
37
37
|
using namespace facebook;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* The C++ JNI bridge between the C++ struct "NitroAction" and the
|
|
40
|
+
* The C++ JNI bridge between the C++ struct "NitroAction" and the Kotlin data class "NitroAction".
|
|
41
41
|
*/
|
|
42
42
|
struct JNitroAction final: public jni::JavaClass<JNitroAction> {
|
|
43
43
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "NitroActionType" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "NitroActionType" and the Kotlin enum "NitroActionType".
|
|
19
19
|
*/
|
|
20
20
|
struct JNitroActionType final: public jni::JavaClass<JNitroActionType> {
|
|
21
21
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "NitroAlignment" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "NitroAlignment" and the Kotlin enum "NitroAlignment".
|
|
19
19
|
*/
|
|
20
20
|
struct JNitroAlignment final: public jni::JavaClass<JNitroAlignment> {
|
|
21
21
|
public:
|
|
@@ -31,7 +31,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
31
31
|
using namespace facebook;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* The C++ JNI bridge between the C++ struct "NitroAttributedString" and the
|
|
34
|
+
* The C++ JNI bridge between the C++ struct "NitroAttributedString" and the Kotlin data class "NitroAttributedString".
|
|
35
35
|
*/
|
|
36
36
|
struct JNitroAttributedString final: public jni::JavaClass<JNitroAttributedString> {
|
|
37
37
|
public:
|
|
@@ -28,7 +28,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
28
28
|
using namespace facebook;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* The C++ JNI bridge between the C++ struct "NitroAttributedStringImage" and the
|
|
31
|
+
* The C++ JNI bridge between the C++ struct "NitroAttributedStringImage" and the Kotlin data class "NitroAttributedStringImage".
|
|
32
32
|
*/
|
|
33
33
|
struct JNitroAttributedStringImage final: public jni::JavaClass<JNitroAttributedStringImage> {
|
|
34
34
|
public:
|
|
@@ -47,7 +47,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
47
47
|
using namespace facebook;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* The C++ JNI bridge between the C++ struct "NitroBaseMapTemplateConfig" and the
|
|
50
|
+
* The C++ JNI bridge between the C++ struct "NitroBaseMapTemplateConfig" and the Kotlin data class "NitroBaseMapTemplateConfig".
|
|
51
51
|
*/
|
|
52
52
|
struct JNitroBaseMapTemplateConfig final: public jni::JavaClass<JNitroBaseMapTemplateConfig> {
|
|
53
53
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "NitroButtonStyle" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "NitroButtonStyle" and the Kotlin enum "NitroButtonStyle".
|
|
19
19
|
*/
|
|
20
20
|
struct JNitroButtonStyle final: public jni::JavaClass<JNitroButtonStyle> {
|
|
21
21
|
public:
|
|
@@ -39,7 +39,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
39
39
|
using namespace facebook;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* The C++ JNI bridge between the C++ struct "NitroChargerLocation" and the
|
|
42
|
+
* The C++ JNI bridge between the C++ struct "NitroChargerLocation" and the Kotlin data class "NitroChargerLocation".
|
|
43
43
|
*/
|
|
44
44
|
struct JNitroChargerLocation final: public jni::JavaClass<JNitroChargerLocation> {
|
|
45
45
|
public:
|
|
@@ -22,7 +22,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
22
22
|
using namespace facebook;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* The C++ JNI bridge between the C++ struct "NitroChargerOutlet" and the
|
|
25
|
+
* The C++ JNI bridge between the C++ struct "NitroChargerOutlet" and the Kotlin data class "NitroChargerOutlet".
|
|
26
26
|
*/
|
|
27
27
|
struct JNitroChargerOutlet final: public jni::JavaClass<JNitroChargerOutlet> {
|
|
28
28
|
public:
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
#include <fbjni/fbjni.h>
|
|
11
11
|
#include "NitroColor.hpp"
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
#include <optional>
|
|
14
14
|
|
|
15
15
|
namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
16
16
|
|
|
17
17
|
using namespace facebook;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* The C++ JNI bridge between the C++ struct "NitroColor" and the
|
|
20
|
+
* The C++ JNI bridge between the C++ struct "NitroColor" and the Kotlin data class "NitroColor".
|
|
21
21
|
*/
|
|
22
22
|
struct JNitroColor final: public jni::JavaClass<JNitroColor> {
|
|
23
23
|
public:
|
|
@@ -35,9 +35,12 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
35
35
|
double lightColor = this->getFieldValue(fieldLightColor);
|
|
36
36
|
static const auto fieldDarkColor = clazz->getField<double>("darkColor");
|
|
37
37
|
double darkColor = this->getFieldValue(fieldDarkColor);
|
|
38
|
+
static const auto fieldIsDefault = clazz->getField<jni::JBoolean>("isDefault");
|
|
39
|
+
jni::local_ref<jni::JBoolean> isDefault = this->getFieldValue(fieldIsDefault);
|
|
38
40
|
return NitroColor(
|
|
39
41
|
lightColor,
|
|
40
|
-
darkColor
|
|
42
|
+
darkColor,
|
|
43
|
+
isDefault != nullptr ? std::make_optional(static_cast<bool>(isDefault->value())) : std::nullopt
|
|
41
44
|
);
|
|
42
45
|
}
|
|
43
46
|
|
|
@@ -47,13 +50,14 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
47
50
|
*/
|
|
48
51
|
[[maybe_unused]]
|
|
49
52
|
static jni::local_ref<JNitroColor::javaobject> fromCpp(const NitroColor& value) {
|
|
50
|
-
using JSignature = JNitroColor(double, double);
|
|
53
|
+
using JSignature = JNitroColor(double, double, jni::alias_ref<jni::JBoolean>);
|
|
51
54
|
static const auto clazz = javaClassStatic();
|
|
52
55
|
static const auto create = clazz->getStaticMethod<JSignature>("fromCpp");
|
|
53
56
|
return create(
|
|
54
57
|
clazz,
|
|
55
58
|
value.lightColor,
|
|
56
|
-
value.darkColor
|
|
59
|
+
value.darkColor,
|
|
60
|
+
value.isDefault.has_value() ? jni::JBoolean::valueOf(value.isDefault.value()) : nullptr
|
|
57
61
|
);
|
|
58
62
|
}
|
|
59
63
|
};
|
|
@@ -37,7 +37,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
37
37
|
using namespace facebook;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* The C++ JNI bridge between the C++ struct "NitroGridButton" and the
|
|
40
|
+
* The C++ JNI bridge between the C++ struct "NitroGridButton" and the Kotlin data class "NitroGridButton".
|
|
41
41
|
*/
|
|
42
42
|
struct JNitroGridButton final: public jni::JavaClass<JNitroGridButton> {
|
|
43
43
|
public:
|
|
@@ -20,7 +20,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
20
20
|
using namespace facebook;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* The C++ JNI bridge between the C++ struct "NitroLoadingManeuver" and the
|
|
23
|
+
* The C++ JNI bridge between the C++ struct "NitroLoadingManeuver" and the Kotlin data class "NitroLoadingManeuver".
|
|
24
24
|
*/
|
|
25
25
|
struct JNitroLoadingManeuver final: public jni::JavaClass<JNitroLoadingManeuver> {
|
|
26
26
|
public:
|
|
@@ -33,7 +33,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
33
33
|
using namespace facebook;
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
* The C++ JNI bridge between the C++ struct "NitroMapButton" and the
|
|
36
|
+
* The C++ JNI bridge between the C++ struct "NitroMapButton" and the Kotlin data class "NitroMapButton".
|
|
37
37
|
*/
|
|
38
38
|
struct JNitroMapButton final: public jni::JavaClass<JNitroMapButton> {
|
|
39
39
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "NitroMapButtonType" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "NitroMapButtonType" and the Kotlin enum "NitroMapButtonType".
|
|
19
19
|
*/
|
|
20
20
|
struct JNitroMapButtonType final: public jni::JavaClass<JNitroMapButtonType> {
|
|
21
21
|
public:
|
|
@@ -28,7 +28,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
28
28
|
using namespace facebook;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* The C++ JNI bridge between the C++ struct "NitroMessageManeuver" and the
|
|
31
|
+
* The C++ JNI bridge between the C++ struct "NitroMessageManeuver" and the Kotlin data class "NitroMessageManeuver".
|
|
32
32
|
*/
|
|
33
33
|
struct JNitroMessageManeuver final: public jni::JavaClass<JNitroMessageManeuver> {
|
|
34
34
|
public:
|
|
@@ -44,7 +44,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
44
44
|
using namespace facebook;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* The C++ JNI bridge between the C++ struct "NitroNavigationAlert" and the
|
|
47
|
+
* The C++ JNI bridge between the C++ struct "NitroNavigationAlert" and the Kotlin data class "NitroNavigationAlert".
|
|
48
48
|
*/
|
|
49
49
|
struct JNitroNavigationAlert final: public jni::JavaClass<JNitroNavigationAlert> {
|
|
50
50
|
public:
|
|
@@ -46,7 +46,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
46
46
|
using namespace facebook;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* The C++ JNI bridge between the C++ struct "NitroOptionsPanelChargerSection" and the
|
|
49
|
+
* The C++ JNI bridge between the C++ struct "NitroOptionsPanelChargerSection" and the Kotlin data class "NitroOptionsPanelChargerSection".
|
|
50
50
|
*/
|
|
51
51
|
struct JNitroOptionsPanelChargerSection final: public jni::JavaClass<JNitroOptionsPanelChargerSection> {
|
|
52
52
|
public:
|
|
@@ -73,7 +73,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
73
73
|
using namespace facebook;
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* The C++ JNI bridge between the C++ struct "NitroOptionsPanelConfig" and the
|
|
76
|
+
* The C++ JNI bridge between the C++ struct "NitroOptionsPanelConfig" and the Kotlin data class "NitroOptionsPanelConfig".
|
|
77
77
|
*/
|
|
78
78
|
struct JNitroOptionsPanelConfig final: public jni::JavaClass<JNitroOptionsPanelConfig> {
|
|
79
79
|
public:
|
|
@@ -40,7 +40,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
40
40
|
using namespace facebook;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* The C++ JNI bridge between the C++ struct "NitroOptionsPanelGridSection" and the
|
|
43
|
+
* The C++ JNI bridge between the C++ struct "NitroOptionsPanelGridSection" and the Kotlin data class "NitroOptionsPanelGridSection".
|
|
44
44
|
*/
|
|
45
45
|
struct JNitroOptionsPanelGridSection final: public jni::JavaClass<JNitroOptionsPanelGridSection> {
|
|
46
46
|
public:
|
|
@@ -68,7 +68,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
68
68
|
using namespace facebook;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
|
-
* The C++ JNI bridge between the C++ struct "NitroRoutingManeuver" and the
|
|
71
|
+
* The C++ JNI bridge between the C++ struct "NitroRoutingManeuver" and the Kotlin data class "NitroRoutingManeuver".
|
|
72
72
|
*/
|
|
73
73
|
struct JNitroRoutingManeuver final: public jni::JavaClass<JNitroRoutingManeuver> {
|
|
74
74
|
public:
|
|
@@ -43,7 +43,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
43
43
|
using namespace facebook;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* The C++ JNI bridge between the C++ struct "NitroRow" and the
|
|
46
|
+
* The C++ JNI bridge between the C++ struct "NitroRow" and the Kotlin data class "NitroRow".
|
|
47
47
|
*/
|
|
48
48
|
struct JNitroRow final: public jni::JavaClass<JNitroRow> {
|
|
49
49
|
public:
|
|
@@ -48,7 +48,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
48
48
|
using namespace facebook;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* The C++ JNI bridge between the C++ struct "NitroSection" and the
|
|
51
|
+
* The C++ JNI bridge between the C++ struct "NitroSection" and the Kotlin data class "NitroSection".
|
|
52
52
|
*/
|
|
53
53
|
struct JNitroSection final: public jni::JavaClass<JNitroSection> {
|
|
54
54
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "NitroSectionType" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "NitroSectionType" and the Kotlin enum "NitroSectionType".
|
|
19
19
|
*/
|
|
20
20
|
struct JNitroSectionType final: public jni::JavaClass<JNitroSectionType> {
|
|
21
21
|
public:
|
|
@@ -17,7 +17,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
17
17
|
using namespace facebook;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* The C++ JNI bridge between the C++ struct "NumericTelemetryItem" and the
|
|
20
|
+
* The C++ JNI bridge between the C++ struct "NumericTelemetryItem" and the Kotlin data class "NumericTelemetryItem".
|
|
21
21
|
*/
|
|
22
22
|
struct JNumericTelemetryItem final: public jni::JavaClass<JNumericTelemetryItem> {
|
|
23
23
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "OffRampType" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "OffRampType" and the Kotlin enum "OffRampType".
|
|
19
19
|
*/
|
|
20
20
|
struct JOffRampType final: public jni::JavaClass<JOffRampType> {
|
|
21
21
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "OnRampType" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "OnRampType" and the Kotlin enum "OnRampType".
|
|
19
19
|
*/
|
|
20
20
|
struct JOnRampType final: public jni::JavaClass<JOnRampType> {
|
|
21
21
|
public:
|
|
@@ -18,7 +18,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
18
18
|
using namespace facebook;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* The C++ JNI bridge between the C++ struct "PermissionRequestResult" and the
|
|
21
|
+
* The C++ JNI bridge between the C++ struct "PermissionRequestResult" and the Kotlin data class "PermissionRequestResult".
|
|
22
22
|
*/
|
|
23
23
|
struct JPermissionRequestResult final: public jni::JavaClass<JPermissionRequestResult> {
|
|
24
24
|
public:
|
|
@@ -19,7 +19,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
19
19
|
using namespace facebook;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* The C++ JNI bridge between the C++ struct "PinSignIn" and the
|
|
22
|
+
* The C++ JNI bridge between the C++ struct "PinSignIn" and the Kotlin data class "PinSignIn".
|
|
23
23
|
*/
|
|
24
24
|
struct JPinSignIn final: public jni::JavaClass<JPinSignIn> {
|
|
25
25
|
public:
|
|
@@ -17,7 +17,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
17
17
|
using namespace facebook;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* The C++ JNI bridge between the C++ struct "Point" and the
|
|
20
|
+
* The C++ JNI bridge between the C++ struct "Point" and the Kotlin data class "Point".
|
|
21
21
|
*/
|
|
22
22
|
struct JPoint final: public jni::JavaClass<JPoint> {
|
|
23
23
|
public:
|
|
@@ -29,7 +29,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
29
29
|
using namespace facebook;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* The C++ JNI bridge between the C++ struct "PreferredImageLane" and the
|
|
32
|
+
* The C++ JNI bridge between the C++ struct "PreferredImageLane" and the Kotlin data class "PreferredImageLane".
|
|
33
33
|
*/
|
|
34
34
|
struct JPreferredImageLane final: public jni::JavaClass<JPreferredImageLane> {
|
|
35
35
|
public:
|
|
@@ -19,7 +19,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
19
19
|
using namespace facebook;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* The C++ JNI bridge between the C++ struct "QrSignIn" and the
|
|
22
|
+
* The C++ JNI bridge between the C++ struct "QrSignIn" and the Kotlin data class "QrSignIn".
|
|
23
23
|
*/
|
|
24
24
|
struct JQrSignIn final: public jni::JavaClass<JQrSignIn> {
|
|
25
25
|
public:
|
|
@@ -20,7 +20,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
20
20
|
using namespace facebook;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* The C++ JNI bridge between the C++ struct "RemoteImage" and the
|
|
23
|
+
* The C++ JNI bridge between the C++ struct "RemoteImage" and the Kotlin data class "RemoteImage".
|
|
24
24
|
*/
|
|
25
25
|
struct JRemoteImage final: public jni::JavaClass<JRemoteImage> {
|
|
26
26
|
public:
|
|
@@ -34,7 +34,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
34
34
|
using namespace facebook;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* The C++ JNI bridge between the C++ struct "RouteChoice" and the
|
|
37
|
+
* The C++ JNI bridge between the C++ struct "RouteChoice" and the Kotlin data class "RouteChoice".
|
|
38
38
|
*/
|
|
39
39
|
struct JRouteChoice final: public jni::JavaClass<JRouteChoice> {
|
|
40
40
|
public:
|
|
@@ -17,7 +17,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
17
17
|
using namespace facebook;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* The C++ JNI bridge between the C++ struct "SafeAreaInsets" and the
|
|
20
|
+
* The C++ JNI bridge between the C++ struct "SafeAreaInsets" and the Kotlin data class "SafeAreaInsets".
|
|
21
21
|
*/
|
|
22
22
|
struct JSafeAreaInsets final: public jni::JavaClass<JSafeAreaInsets> {
|
|
23
23
|
public:
|
|
@@ -60,7 +60,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
60
60
|
using namespace facebook;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* The C++ JNI bridge between the C++ struct "SearchTemplateConfig" and the
|
|
63
|
+
* The C++ JNI bridge between the C++ struct "SearchTemplateConfig" and the Kotlin data class "SearchTemplateConfig".
|
|
64
64
|
*/
|
|
65
65
|
struct JSearchTemplateConfig final: public jni::JavaClass<JSearchTemplateConfig> {
|
|
66
66
|
public:
|
|
@@ -15,7 +15,7 @@ namespace margelo::nitro::swe::iternio::reactnativeautoplay {
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The C++ JNI bridge between the C++ enum "SignInMethods" and the
|
|
18
|
+
* The C++ JNI bridge between the C++ enum "SignInMethods" and the Kotlin enum "SignInMethods".
|
|
19
19
|
*/
|
|
20
20
|
struct JSignInMethods final: public jni::JavaClass<JSignInMethods> {
|
|
21
21
|
public:
|