/// /// NitroCameraConfig.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 "NitroCameraConfig". */ @DoNotStrip @Keep data class NitroCameraConfig( @DoNotStrip @Keep val mediaType: MediaType, @DoNotStrip @Keep val presentation: Presentation, @DoNotStrip @Keep val language: Language, @DoNotStrip @Keep val crop: PickerCropConfig?, @DoNotStrip @Keep val isSaveSystemAlbum: Boolean?, @DoNotStrip @Keep val color: Double?, @DoNotStrip @Keep val cameraDevice: CameraDevice?, @DoNotStrip @Keep val videoMaximumDuration: Double? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(mediaType: MediaType, presentation: Presentation, language: Language, crop: PickerCropConfig?, isSaveSystemAlbum: Boolean?, color: Double?, cameraDevice: CameraDevice?, videoMaximumDuration: Double?): NitroCameraConfig { return NitroCameraConfig(mediaType, presentation, language, crop, isSaveSystemAlbum, color, cameraDevice, videoMaximumDuration) } } }