/// /// PickerResult.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 "PickerResult". */ @DoNotStrip @Keep data class PickerResult( @DoNotStrip @Keep val localIdentifier: String, @DoNotStrip @Keep val width: Double, @DoNotStrip @Keep val height: Double, @DoNotStrip @Keep val mime: String, @DoNotStrip @Keep val size: Double, @DoNotStrip @Keep val bucketId: Double?, @DoNotStrip @Keep val realPath: String?, @DoNotStrip @Keep val parentFolderName: String?, @DoNotStrip @Keep val creationDate: Double?, @DoNotStrip @Keep val crop: Boolean?, @DoNotStrip @Keep val isOriginal: Boolean?, @DoNotStrip @Keep val path: String, @DoNotStrip @Keep val type: ResultType, @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(localIdentifier: String, width: Double, height: Double, mime: String, size: Double, bucketId: Double?, realPath: String?, parentFolderName: String?, creationDate: Double?, crop: Boolean?, isOriginal: Boolean?, path: String, type: ResultType, duration: Double?, thumbnail: String?, fileName: String?): PickerResult { return PickerResult(localIdentifier, width, height, mime, size, bucketId, realPath, parentFolderName, creationDate, crop, isOriginal, path, type, duration, thumbnail, fileName) } } }