/// /// LDP_PresentParams.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.lunardatepicker import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "LDP_PresentParams". */ @DoNotStrip @Keep data class LDP_PresentParams( @DoNotStrip @Keep val theme: String, @DoNotStrip @Keep val language: String, @DoNotStrip @Keep val title: String, @DoNotStrip @Keep val submitText: String, @DoNotStrip @Keep val fromText: String?, @DoNotStrip @Keep val toText: String?, @DoNotStrip @Keep val notSelectedText: String?, @DoNotStrip @Keep val mode: LDP_Mode, @DoNotStrip @Keep val showHeader: Boolean?, @DoNotStrip @Keep val onDone: Func_void_LDP_Range, @DoNotStrip @Keep val minimumDate: String?, @DoNotStrip @Keep val maximumDate: String?, @DoNotStrip @Keep val initialValue: LDP_Range? ) { /** * Create a new instance of LDP_PresentParams from Kotlin */ constructor(theme: String, language: String, title: String, submitText: String, fromText: String?, toText: String?, notSelectedText: String?, mode: LDP_Mode, showHeader: Boolean?, onDone: (result: LDP_Range) -> Unit, minimumDate: String?, maximumDate: String?, initialValue: LDP_Range?): this(theme, language, title, submitText, fromText, toText, notSelectedText, mode, showHeader, Func_void_LDP_Range_java(onDone), minimumDate, maximumDate, initialValue) companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(theme: String, language: String, title: String, submitText: String, fromText: String?, toText: String?, notSelectedText: String?, mode: LDP_Mode, showHeader: Boolean?, onDone: Func_void_LDP_Range, minimumDate: String?, maximumDate: String?, initialValue: LDP_Range?): LDP_PresentParams { return LDP_PresentParams(theme, language, title, submitText, fromText, toText, notSelectedText, mode, showHeader, onDone, minimumDate, maximumDate, initialValue) } } }