/// /// NitroConfig.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.multipleimagepicker import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "NitroConfig". */ @DoNotStrip @Keep data class NitroConfig( @DoNotStrip @Keep val mediaType: MediaType, @DoNotStrip @Keep val selectedAssets: Array, @DoNotStrip @Keep val selectBoxStyle: SelectBoxStyle, @DoNotStrip @Keep val selectMode: SelectMode, @DoNotStrip @Keep val numberOfColumn: Double?, @DoNotStrip @Keep val isPreview: Boolean?, @DoNotStrip @Keep val primaryColor: Double?, @DoNotStrip @Keep val allowSwipeToSelect: Boolean?, @DoNotStrip @Keep val spacing: Double?, @DoNotStrip @Keep val isHiddenPreviewButton: Boolean?, @DoNotStrip @Keep val isHiddenOriginalButton: Boolean?, @DoNotStrip @Keep val isShowPreviewList: Boolean?, @DoNotStrip @Keep val allowHapticTouchPreview: Boolean?, @DoNotStrip @Keep val allowedLimit: Boolean?, @DoNotStrip @Keep val maxVideo: Double?, @DoNotStrip @Keep val maxSelect: Double?, @DoNotStrip @Keep val maxVideoDuration: Double?, @DoNotStrip @Keep val minVideoDuration: Double?, @DoNotStrip @Keep val maxFileSize: Double?, @DoNotStrip @Keep val backgroundDark: Double?, @DoNotStrip @Keep val crop: PickerCropConfig?, @DoNotStrip @Keep val text: Text?, @DoNotStrip @Keep val language: Language, @DoNotStrip @Keep val theme: Theme, @DoNotStrip @Keep val presentation: Presentation, @DoNotStrip @Keep val camera: PickerCameraConfig? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(mediaType: MediaType, selectedAssets: Array, selectBoxStyle: SelectBoxStyle, selectMode: SelectMode, numberOfColumn: Double?, isPreview: Boolean?, primaryColor: Double?, allowSwipeToSelect: Boolean?, spacing: Double?, isHiddenPreviewButton: Boolean?, isHiddenOriginalButton: Boolean?, isShowPreviewList: Boolean?, allowHapticTouchPreview: Boolean?, allowedLimit: Boolean?, maxVideo: Double?, maxSelect: Double?, maxVideoDuration: Double?, minVideoDuration: Double?, maxFileSize: Double?, backgroundDark: Double?, crop: PickerCropConfig?, text: Text?, language: Language, theme: Theme, presentation: Presentation, camera: PickerCameraConfig?): NitroConfig { return NitroConfig(mediaType, selectedAssets, selectBoxStyle, selectMode, numberOfColumn, isPreview, primaryColor, allowSwipeToSelect, spacing, isHiddenPreviewButton, isHiddenOriginalButton, isShowPreviewList, allowHapticTouchPreview, allowedLimit, maxVideo, maxSelect, maxVideoDuration, minVideoDuration, maxFileSize, backgroundDark, crop, text, language, theme, presentation, camera) } } }