/// /// SharePayload.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © 2026 Marc Rousavy @ Margelo /// package com.margelo.nitro.nitroshareintent import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "SharePayload". */ @DoNotStrip @Keep data class SharePayload( @DoNotStrip @Keep val type: ShareType, @DoNotStrip @Keep val text: String?, @DoNotStrip @Keep val files: Array?, @DoNotStrip @Keep val extras: Map? ) { /* primary constructor */ private companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(type: ShareType, text: String?, files: Array?, extras: Map?): SharePayload { return SharePayload(type, text, files, extras) } } }