/// /// CameraResult.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 "CameraResult". */ @DoNotStrip @Keep data class CameraResult( @DoNotStrip @Keep val path: String, @DoNotStrip @Keep val type: ResultType, @DoNotStrip @Keep val width: Double?, @DoNotStrip @Keep val height: Double?, @DoNotStrip @Keep val duration: Double?, @DoNotStrip @Keep val thumbnail: String?, @DoNotStrip @Keep val fileName: String? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(path: String, type: ResultType, width: Double?, height: Double?, duration: Double?, thumbnail: String?, fileName: String?): CameraResult { return CameraResult(path, type, width, height, duration, thumbnail, fileName) } } }