theta-client-react-native 1.6.0 → 1.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.
Files changed (138) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +115 -12
  3. package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +361 -1
  4. package/ios/ConvertUtil.swift +144 -19
  5. package/ios/ThetaClientReactNative.m +42 -0
  6. package/ios/ThetaClientReactNative.swift +419 -0
  7. package/lib/commonjs/capture/burst-capture.js +119 -0
  8. package/lib/commonjs/capture/burst-capture.js.map +1 -0
  9. package/lib/commonjs/capture/continuous-capture.js +108 -0
  10. package/lib/commonjs/capture/continuous-capture.js.map +1 -0
  11. package/lib/commonjs/capture/index.js +33 -0
  12. package/lib/commonjs/capture/index.js.map +1 -1
  13. package/lib/commonjs/capture/multi-bracket-capture.js +121 -0
  14. package/lib/commonjs/capture/multi-bracket-capture.js.map +1 -0
  15. package/lib/commonjs/index.js +1 -2
  16. package/lib/commonjs/index.js.map +1 -1
  17. package/lib/commonjs/theta-repository/access-point.js +1 -2
  18. package/lib/commonjs/theta-repository/access-point.js.map +1 -1
  19. package/lib/commonjs/theta-repository/options/index.js +33 -0
  20. package/lib/commonjs/theta-repository/options/index.js.map +1 -1
  21. package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js +1 -2
  22. package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -1
  23. package/lib/commonjs/theta-repository/options/option-bitrate.js +1 -2
  24. package/lib/commonjs/theta-repository/options/option-bitrate.js.map +1 -1
  25. package/lib/commonjs/theta-repository/options/option-bluetooth-role.js +20 -0
  26. package/lib/commonjs/theta-repository/options/option-bluetooth-role.js.map +1 -0
  27. package/lib/commonjs/theta-repository/options/option-burst-mode.js +1 -2
  28. package/lib/commonjs/theta-repository/options/option-burst-mode.js.map +1 -1
  29. package/lib/commonjs/theta-repository/options/option-burst-option.js +11 -12
  30. package/lib/commonjs/theta-repository/options/option-burst-option.js.map +1 -1
  31. package/lib/commonjs/theta-repository/options/option-camera-control-source.js +1 -2
  32. package/lib/commonjs/theta-repository/options/option-camera-control-source.js.map +1 -1
  33. package/lib/commonjs/theta-repository/options/option-camera-mode.js +1 -2
  34. package/lib/commonjs/theta-repository/options/option-camera-mode.js.map +1 -1
  35. package/lib/commonjs/theta-repository/options/option-capture-mode.js +1 -2
  36. package/lib/commonjs/theta-repository/options/option-capture-mode.js.map +1 -1
  37. package/lib/commonjs/theta-repository/options/option-continuous-number.js +1 -2
  38. package/lib/commonjs/theta-repository/options/option-continuous-number.js.map +1 -1
  39. package/lib/commonjs/theta-repository/options/option-face-detect.js +1 -2
  40. package/lib/commonjs/theta-repository/options/option-face-detect.js.map +1 -1
  41. package/lib/commonjs/theta-repository/options/option-filter.js +1 -2
  42. package/lib/commonjs/theta-repository/options/option-filter.js.map +1 -1
  43. package/lib/commonjs/theta-repository/options/option-function.js +1 -2
  44. package/lib/commonjs/theta-repository/options/option-function.js.map +1 -1
  45. package/lib/commonjs/theta-repository/options/option-gain.js +1 -2
  46. package/lib/commonjs/theta-repository/options/option-gain.js.map +1 -1
  47. package/lib/commonjs/theta-repository/options/option-image-stitching.js +1 -2
  48. package/lib/commonjs/theta-repository/options/option-image-stitching.js.map +1 -1
  49. package/lib/commonjs/theta-repository/options/option-network-type.js +1 -2
  50. package/lib/commonjs/theta-repository/options/option-network-type.js.map +1 -1
  51. package/lib/commonjs/theta-repository/options/option-off-delay.js +42 -0
  52. package/lib/commonjs/theta-repository/options/option-off-delay.js.map +1 -0
  53. package/lib/commonjs/theta-repository/options/option-power-saving.js +1 -2
  54. package/lib/commonjs/theta-repository/options/option-power-saving.js.map +1 -1
  55. package/lib/commonjs/theta-repository/options/option-preset.js +1 -2
  56. package/lib/commonjs/theta-repository/options/option-preset.js.map +1 -1
  57. package/lib/commonjs/theta-repository/options/option-preview-format.js +1 -2
  58. package/lib/commonjs/theta-repository/options/option-preview-format.js.map +1 -1
  59. package/lib/commonjs/theta-repository/options/option-shooting-method.js +1 -2
  60. package/lib/commonjs/theta-repository/options/option-shooting-method.js.map +1 -1
  61. package/lib/commonjs/theta-repository/options/option-shutter-speed.js +1 -2
  62. package/lib/commonjs/theta-repository/options/option-shutter-speed.js.map +1 -1
  63. package/lib/commonjs/theta-repository/options/option-sleep-delay.js +42 -0
  64. package/lib/commonjs/theta-repository/options/option-sleep-delay.js.map +1 -0
  65. package/lib/commonjs/theta-repository/options/option-time-shift.js +1 -2
  66. package/lib/commonjs/theta-repository/options/option-time-shift.js.map +1 -1
  67. package/lib/commonjs/theta-repository/options/option-top-bottom-correction.js +1 -2
  68. package/lib/commonjs/theta-repository/options/option-top-bottom-correction.js.map +1 -1
  69. package/lib/commonjs/theta-repository/options/option-video-stitching.js +1 -2
  70. package/lib/commonjs/theta-repository/options/option-video-stitching.js.map +1 -1
  71. package/lib/commonjs/theta-repository/options/option-visibility-reduction.js +1 -2
  72. package/lib/commonjs/theta-repository/options/option-visibility-reduction.js.map +1 -1
  73. package/lib/commonjs/theta-repository/options/option-white-balance-auto-strength.js +1 -2
  74. package/lib/commonjs/theta-repository/options/option-white-balance-auto-strength.js.map +1 -1
  75. package/lib/commonjs/theta-repository/options/option-wlan-frequency.js +1 -2
  76. package/lib/commonjs/theta-repository/options/option-wlan-frequency.js.map +1 -1
  77. package/lib/commonjs/theta-repository/options/options.js +30 -62
  78. package/lib/commonjs/theta-repository/options/options.js.map +1 -1
  79. package/lib/commonjs/theta-repository/theta-files.js +7 -8
  80. package/lib/commonjs/theta-repository/theta-files.js.map +1 -1
  81. package/lib/commonjs/theta-repository/theta-info.js +1 -2
  82. package/lib/commonjs/theta-repository/theta-info.js.map +1 -1
  83. package/lib/commonjs/theta-repository/theta-repository.js +38 -23
  84. package/lib/commonjs/theta-repository/theta-repository.js.map +1 -1
  85. package/lib/commonjs/theta-repository/theta-state.js +7 -8
  86. package/lib/commonjs/theta-repository/theta-state.js.map +1 -1
  87. package/lib/module/capture/burst-capture.js +111 -0
  88. package/lib/module/capture/burst-capture.js.map +1 -0
  89. package/lib/module/capture/continuous-capture.js +100 -0
  90. package/lib/module/capture/continuous-capture.js.map +1 -0
  91. package/lib/module/capture/index.js +3 -0
  92. package/lib/module/capture/index.js.map +1 -1
  93. package/lib/module/capture/multi-bracket-capture.js +113 -0
  94. package/lib/module/capture/multi-bracket-capture.js.map +1 -0
  95. package/lib/module/theta-repository/options/index.js +3 -0
  96. package/lib/module/theta-repository/options/index.js.map +1 -1
  97. package/lib/module/theta-repository/options/option-bluetooth-role.js +14 -0
  98. package/lib/module/theta-repository/options/option-bluetooth-role.js.map +1 -0
  99. package/lib/module/theta-repository/options/option-off-delay.js +35 -0
  100. package/lib/module/theta-repository/options/option-off-delay.js.map +1 -0
  101. package/lib/module/theta-repository/options/option-sleep-delay.js +35 -0
  102. package/lib/module/theta-repository/options/option-sleep-delay.js.map +1 -0
  103. package/lib/module/theta-repository/options/options.js +2 -32
  104. package/lib/module/theta-repository/options/options.js.map +1 -1
  105. package/lib/module/theta-repository/theta-repository.js +36 -24
  106. package/lib/module/theta-repository/theta-repository.js.map +1 -1
  107. package/lib/typescript/capture/burst-capture.d.ts +55 -0
  108. package/lib/typescript/capture/burst-capture.d.ts.map +1 -0
  109. package/lib/typescript/capture/continuous-capture.d.ts +49 -0
  110. package/lib/typescript/capture/continuous-capture.d.ts.map +1 -0
  111. package/lib/typescript/capture/index.d.ts +3 -0
  112. package/lib/typescript/capture/index.d.ts.map +1 -1
  113. package/lib/typescript/capture/multi-bracket-capture.d.ts +56 -0
  114. package/lib/typescript/capture/multi-bracket-capture.d.ts.map +1 -0
  115. package/lib/typescript/theta-repository/options/index.d.ts +3 -0
  116. package/lib/typescript/theta-repository/options/index.d.ts.map +1 -1
  117. package/lib/typescript/theta-repository/options/option-bluetooth-role.d.ts +14 -0
  118. package/lib/typescript/theta-repository/options/option-bluetooth-role.d.ts.map +1 -0
  119. package/lib/typescript/theta-repository/options/option-off-delay.d.ts +22 -0
  120. package/lib/typescript/theta-repository/options/option-off-delay.d.ts.map +1 -0
  121. package/lib/typescript/theta-repository/options/option-sleep-delay.d.ts +22 -0
  122. package/lib/typescript/theta-repository/options/option-sleep-delay.d.ts.map +1 -0
  123. package/lib/typescript/theta-repository/options/options.d.ts +7 -30
  124. package/lib/typescript/theta-repository/options/options.d.ts.map +1 -1
  125. package/lib/typescript/theta-repository/theta-repository.d.ts +24 -2
  126. package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
  127. package/package.json +1 -1
  128. package/src/capture/burst-capture.ts +169 -0
  129. package/src/capture/continuous-capture.ts +126 -0
  130. package/src/capture/index.ts +3 -0
  131. package/src/capture/multi-bracket-capture.ts +145 -0
  132. package/src/theta-repository/options/index.ts +3 -0
  133. package/src/theta-repository/options/option-bluetooth-role.ts +15 -0
  134. package/src/theta-repository/options/option-off-delay.ts +38 -0
  135. package/src/theta-repository/options/option-sleep-delay.ts +37 -0
  136. package/src/theta-repository/options/options.ts +7 -38
  137. package/src/theta-repository/theta-repository.ts +54 -0
  138. package/theta-client-react-native.podspec +1 -1
@@ -47,6 +47,7 @@ let KEY_PROXY_URL = "url"
47
47
  let KEY_PROXY_PORT = "port"
48
48
  let KEY_PROXY_USER_ID = "userid"
49
49
  let KEY_PROXY_PASSWORD = "password"
50
+ let KEY_BURST_MODE = "burstMode"
50
51
  let KEY_BURST_CAPTURE_NUM = "burstCaptureNum"
51
52
  let KEY_BURST_BRACKET_STEP = "burstBracketStep"
52
53
  let KEY_BURST_COMPENSATION = "burstCompensation"
@@ -57,6 +58,7 @@ let KEY_TOP_BOTTOM_CORRECTION_ROTATION_PITCH = "pitch"
57
58
  let KEY_TOP_BOTTOM_CORRECTION_ROTATION_ROLL = "roll"
58
59
  let KEY_TOP_BOTTOM_CORRECTION_ROTATION_YAW = "yaw"
59
60
  let KEY_TIMESHIFT_CAPTURE_INTERVAL = "_capture_interval"
61
+ let KEY_AUTO_BRACKET = "autoBracket"
60
62
 
61
63
  public class ConvertUtil: NSObject {}
62
64
 
@@ -69,6 +71,7 @@ let optionItemNameToEnum = [
69
71
  "autoBracket": ThetaRepository.OptionNameEnum.autobracket,
70
72
  "bitrate": ThetaRepository.OptionNameEnum.bitrate,
71
73
  "bluetoothPower": ThetaRepository.OptionNameEnum.bluetoothpower,
74
+ "bluetoothRole": ThetaRepository.OptionNameEnum.bluetoothrole,
72
75
  "burstMode": ThetaRepository.OptionNameEnum.burstmode,
73
76
  "burstOption": ThetaRepository.OptionNameEnum.burstoption,
74
77
  "cameraControlSource": ThetaRepository.OptionNameEnum.cameracontrolsource,
@@ -174,6 +177,10 @@ func setOptionsValue(options: ThetaRepository.Options, name: String, value: Any)
174
177
  options.bluetoothPower = getEnumValue(
175
178
  values: ThetaRepository.BluetoothPowerEnum.values(), name: value as! String
176
179
  )!
180
+ case ThetaRepository.OptionNameEnum.bluetoothrole.name:
181
+ options.bluetoothRole = getEnumValue(
182
+ values: ThetaRepository.BluetoothRoleEnum.values(), name: value as! String
183
+ )!
177
184
  case ThetaRepository.OptionNameEnum.burstmode.name:
178
185
  options.burstMode = getEnumValue(
179
186
  values: ThetaRepository.BurstModeEnum.values(), name: value as! String
@@ -275,9 +282,7 @@ func setOptionsValue(options: ThetaRepository.Options, name: String, value: Any)
275
282
  values: ThetaRepository.NetworkTypeEnum.values(), name: value as! String
276
283
  )!
277
284
  case ThetaRepository.OptionNameEnum.offdelay.name:
278
- options.offDelay = getEnumValue(
279
- values: ThetaRepository.OffDelayEnum.values(), name: value as! String
280
- )!
285
+ options.offDelay = toOffDelay(value: value)
281
286
  case ThetaRepository.OptionNameEnum.password.name:
282
287
  options.password = value as? String
283
288
  case ThetaRepository.OptionNameEnum.powersaving.name:
@@ -313,9 +318,7 @@ func setOptionsValue(options: ThetaRepository.Options, name: String, value: Any)
313
318
  case ThetaRepository.OptionNameEnum.shuttervolume.name:
314
319
  options.shutterVolume = KotlinInt(integerLiteral: value as! Int)
315
320
  case ThetaRepository.OptionNameEnum.sleepdelay.name:
316
- options.sleepDelay = getEnumValue(
317
- values: ThetaRepository.SleepDelayEnum.values(), name: value as! String
318
- )!
321
+ options.sleepDelay = toSleepDelay(value: value)
319
322
  case ThetaRepository.OptionNameEnum.timeshift.name:
320
323
  if let params = value as? [String: Any] {
321
324
  options.timeShift = toTimeShift(params: params)
@@ -579,6 +582,108 @@ func setCompositeIntervalCaptureBuilderParams(params: [String: Any], builder: Co
579
582
  }
580
583
  }
581
584
 
585
+ func setBurstCaptureBuilderParams(params: [String: Any], builder: BurstCapture.Builder) {
586
+ if let interval = params[KEY_TIMESHIFT_CAPTURE_INTERVAL] as? Int,
587
+ interval >= 0
588
+ {
589
+ builder.setCheckStatusCommandInterval(timeMillis: Int64(interval))
590
+ }
591
+ if let value = params[KEY_BURST_MODE] as? String {
592
+ if let enumValue = getEnumValue(values: ThetaRepository.BurstModeEnum.values(),
593
+ name: value)
594
+ {
595
+ builder.setBurstMode(mode: enumValue)
596
+ }
597
+ }
598
+ }
599
+
600
+ func setMultiBracketCaptureBuilderParams(params: [String: Any], builder: MultiBracketCapture.Builder) {
601
+ if let autoBracket = params[KEY_AUTO_BRACKET] as? [[String: Any]] {
602
+ autoBracket.forEach { map in
603
+ let aperture = {
604
+ if let name = map["aperture"] as? String {
605
+ return getEnumValue(values: ThetaRepository.ApertureEnum.values(), name: name)
606
+ } else {
607
+ return nil
608
+ }
609
+ }()
610
+
611
+ let colorTemperature = {
612
+ if let value = map["colorTemperature"] as? Int {
613
+ return toKotlinInt(value: value)
614
+ } else {
615
+ return nil
616
+ }
617
+ }()
618
+
619
+ let exposureCompensation = {
620
+ if let name = map["exposureCompensation"] as? String {
621
+ return getEnumValue(values: ThetaRepository.ExposureCompensationEnum.values(), name: name)
622
+ } else {
623
+ return nil
624
+ }
625
+ }()
626
+
627
+ let exposureProgram = {
628
+ if let name = map["exposureProgram"] as? String {
629
+ return getEnumValue(values: ThetaRepository.ExposureProgramEnum.values(), name: name)
630
+ } else {
631
+ return nil
632
+ }
633
+ }()
634
+
635
+ let iso = {
636
+ if let name = map["iso"] as? String {
637
+ return getEnumValue(values: ThetaRepository.IsoEnum.values(), name: name)
638
+ } else {
639
+ return nil
640
+ }
641
+ }()
642
+
643
+ let shutterSpeed = {
644
+ if let name = map["shutterSpeed"] as? String {
645
+ return getEnumValue(values: ThetaRepository.ShutterSpeedEnum.values(), name: name)
646
+ } else {
647
+ return nil
648
+ }
649
+ }()
650
+
651
+ let whiteBalance = {
652
+ if let name = map["whiteBalance"] as? String {
653
+ return getEnumValue(values: ThetaRepository.WhiteBalanceEnum.values(), name: name)
654
+ } else {
655
+ return nil
656
+ }
657
+ }()
658
+
659
+ builder.addBracketParameters(
660
+ aperture: aperture,
661
+ colorTemperature: colorTemperature,
662
+ exposureCompensation: exposureCompensation,
663
+ exposureProgram: exposureProgram,
664
+ iso: iso,
665
+ shutterSpeed: shutterSpeed,
666
+ whiteBalance: whiteBalance
667
+ )
668
+ }
669
+ }
670
+ }
671
+
672
+ func setContinuousCaptureBuilderParams(params: [String: Any], builder: ContinuousCapture.Builder) {
673
+ if let interval = params[KEY_TIMESHIFT_CAPTURE_INTERVAL] as? Int,
674
+ interval >= 0
675
+ {
676
+ builder.setCheckStatusCommandInterval(timeMillis: Int64(interval))
677
+ }
678
+ if let value = params[KEY_FILE_FORMAT] as? String {
679
+ if let enumValue = getEnumValue(
680
+ values: ThetaRepository.PhotoFileFormatEnum.values(), name: value
681
+ ) {
682
+ builder.setFileFormat(fileFormat: enumValue)
683
+ }
684
+ }
685
+ }
686
+
582
687
  // MARK: - Utility
583
688
 
584
689
  func getEnumValue<T, E: KotlinEnum<T>>(values: KotlinArray<E>, name: String) -> E? {
@@ -743,22 +848,22 @@ func convertResult(thetaState: ThetaRepository.ThetaState) -> [String: Any?] {
743
848
  func convertResult(burstOption: ThetaRepository.BurstOption) -> [String: Any] {
744
849
  var result: [String: Any] = [:]
745
850
  if let burstCaptureNum = burstOption.burstCaptureNum {
746
- result[KEY_BURST_CAPTURE_NUM] = burstCaptureNum.value.name
851
+ result[KEY_BURST_CAPTURE_NUM] = burstCaptureNum.name
747
852
  }
748
853
  if let burstBracketStep = burstOption.burstBracketStep {
749
- result[KEY_BURST_BRACKET_STEP] = burstBracketStep.value.name
854
+ result[KEY_BURST_BRACKET_STEP] = burstBracketStep.name
750
855
  }
751
856
  if let burstCompensation = burstOption.burstCompensation {
752
- result[KEY_BURST_COMPENSATION] = burstCompensation.value.name
857
+ result[KEY_BURST_COMPENSATION] = burstCompensation.name
753
858
  }
754
859
  if let burstMaxExposureTime = burstOption.burstMaxExposureTime {
755
- result[KEY_BURST_MAX_EXPOSURE_TIME] = burstMaxExposureTime.value.name
860
+ result[KEY_BURST_MAX_EXPOSURE_TIME] = burstMaxExposureTime.name
756
861
  }
757
862
  if let burstEnableIsoControl = burstOption.burstEnableIsoControl {
758
- result[KEY_BURST_ENABLE_ISO_CONTROL] = burstEnableIsoControl.value.name
863
+ result[KEY_BURST_ENABLE_ISO_CONTROL] = burstEnableIsoControl.name
759
864
  }
760
865
  if let burstOrder = burstOption.burstOrder {
761
- result[KEY_BURST_ORDER] = burstOrder.value.name
866
+ result[KEY_BURST_ORDER] = burstOrder.name
762
867
  }
763
868
  return result
764
869
  }
@@ -945,6 +1050,30 @@ func toBitrate(value: Any) -> ThetaRepositoryBitrate? {
945
1050
  }
946
1051
  }
947
1052
 
1053
+ func toOffDelay(value: Any) -> ThetaRepositoryOffDelay? {
1054
+ if value is NSNumber, let intVal = value as? Int32 {
1055
+ return ThetaRepository.OffDelaySec(sec: intVal)
1056
+ } else if let name = value as? String,
1057
+ let enumValue = getEnumValue(values: ThetaRepository.OffDelayEnum.values(), name: name)
1058
+ {
1059
+ return enumValue
1060
+ } else {
1061
+ return nil
1062
+ }
1063
+ }
1064
+
1065
+ func toSleepDelay(value: Any) -> ThetaRepositorySleepDelay? {
1066
+ if value is NSNumber, let intVal = value as? Int32 {
1067
+ return ThetaRepository.SleepDelaySec(sec: intVal)
1068
+ } else if let name = value as? String,
1069
+ let enumValue = getEnumValue(values: ThetaRepository.SleepDelayEnum.values(), name: name)
1070
+ {
1071
+ return enumValue
1072
+ } else {
1073
+ return nil
1074
+ }
1075
+ }
1076
+
948
1077
  func toBurstOption(params: [String: Any]) -> ThetaRepository.BurstOption {
949
1078
  var burstCaptureNum: ThetaRepository.BurstCaptureNumEnum? = nil
950
1079
  if let name = params["burstCaptureNum"] as? String {
@@ -997,7 +1126,7 @@ func toBurstOption(params: [String: Any]) -> ThetaRepository.BurstOption {
997
1126
  }
998
1127
 
999
1128
  func toAutoBracket(params: [[String: Any]]) -> ThetaRepository.BracketSettingList {
1000
- let autoBracket = ThetaRepository.BracketSettingList(list: NSMutableArray())
1129
+ let autoBracket = ThetaRepository.BracketSettingList()
1001
1130
 
1002
1131
  params.forEach { map in
1003
1132
  let aperture = {
@@ -1149,13 +1278,9 @@ func toConfig(params: [String: Any]) -> ThetaRepository.Config {
1149
1278
  values: ThetaRepository.LanguageEnum.values(), name: value as? String ?? ""
1150
1279
  )
1151
1280
  case KEY_OFF_DELAY:
1152
- config.offDelay = getEnumValue(
1153
- values: ThetaRepository.OffDelayEnum.values(), name: value as? String ?? ""
1154
- )
1281
+ config.offDelay = toOffDelay(value: value)
1155
1282
  case KEY_SLEEP_DELAY:
1156
- config.sleepDelay = getEnumValue(
1157
- values: ThetaRepository.SleepDelayEnum.values(), name: value as? String ?? ""
1158
- )
1283
+ config.sleepDelay = toSleepDelay(value: value)
1159
1284
  case KEY_SHUTTER_VOLUME:
1160
1285
  if let value = value as? Int {
1161
1286
  config.shutterVolume = KotlinInt(integerLiteral: value)
@@ -135,6 +135,48 @@ RCT_EXTERN_METHOD(startCompositeIntervalCapture:(RCTPromiseResolveBlock)resolve
135
135
  RCT_EXTERN_METHOD(cancelCompositeIntervalCapture:(RCTPromiseResolveBlock)resolve
136
136
  withRejecter:(RCTPromiseRejectBlock)reject)
137
137
 
138
+ RCT_EXTERN_METHOD(getBurstCaptureBuilder:(NSString*)burstCaptureNum
139
+ burstBracketStep:(NSString*)burstBracketStep
140
+ burstCompensation:(NSString*)burstCompensation
141
+ burstMaxExposureTime:(NSString*)burstMaxExposureTime
142
+ burstEnableIsoControl:(NSString*)burstEnableIsoControl
143
+ burstOrder:(NSString*)burstOrder
144
+ withResolver:(RCTPromiseResolveBlock)resolve
145
+ withRejecter:(RCTPromiseRejectBlock)reject)
146
+
147
+ RCT_EXTERN_METHOD(buildBurstCapture:(NSDictionary*)options
148
+ withResolver:(RCTPromiseResolveBlock)resolve
149
+ withRejecter:(RCTPromiseRejectBlock)reject)
150
+
151
+ RCT_EXTERN_METHOD(startBurstCapture:(RCTPromiseResolveBlock)resolve
152
+ withRejecter:(RCTPromiseRejectBlock)reject)
153
+
154
+ RCT_EXTERN_METHOD(cancelBurstCapture:(RCTPromiseResolveBlock)resolve
155
+ withRejecter:(RCTPromiseRejectBlock)reject)
156
+
157
+ RCT_EXTERN_METHOD(getMultiBracketCaptureBuilder:(RCTPromiseResolveBlock)resolve
158
+ withRejecter:(RCTPromiseRejectBlock)reject)
159
+
160
+ RCT_EXTERN_METHOD(buildMultiBracketCapture:(NSDictionary*)options
161
+ withResolver:(RCTPromiseResolveBlock)resolve
162
+ withRejecter:(RCTPromiseRejectBlock)reject)
163
+
164
+ RCT_EXTERN_METHOD(startMultiBracketCapture:(RCTPromiseResolveBlock)resolve
165
+ withRejecter:(RCTPromiseRejectBlock)reject)
166
+
167
+ RCT_EXTERN_METHOD(cancelMultiBracketCapture:(RCTPromiseResolveBlock)resolve
168
+ withRejecter:(RCTPromiseRejectBlock)reject)
169
+
170
+ RCT_EXTERN_METHOD(getContinuousCaptureBuilder:(RCTPromiseResolveBlock)resolve
171
+ withRejecter:(RCTPromiseRejectBlock)reject)
172
+
173
+ RCT_EXTERN_METHOD(buildContinuousCapture:(NSDictionary*)options
174
+ withResolver:(RCTPromiseResolveBlock)resolve
175
+ withRejecter:(RCTPromiseRejectBlock)reject)
176
+
177
+ RCT_EXTERN_METHOD(startContinuousCapture:(RCTPromiseResolveBlock)resolve
178
+ withRejecter:(RCTPromiseRejectBlock)reject)
179
+
138
180
  RCT_EXTERN_METHOD(getMetadata:(NSString*)fileUrl
139
181
  withResolver:(RCTPromiseResolveBlock)resolve
140
182
  withRejecter:(RCTPromiseRejectBlock)reject)