/// /// HybridNitroWalletSpec.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © 2025 Marc Rousavy @ Margelo /// package com.margelo.nitro.nitrowallet import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.* /** * A Kotlin class representing the NitroWallet HybridObject. * Implement this abstract class to create Kotlin-based instances of NitroWallet. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridNitroWalletSpec: HybridObject() { @DoNotStrip private var mHybridData: HybridData = initHybrid() init { super.updateNative(mHybridData) } override fun updateNative(hybridData: HybridData) { mHybridData = hybridData super.updateNative(hybridData) } // Properties // Methods @DoNotStrip @Keep abstract fun canAddPassesToAppleWallet(): Promise @DoNotStrip @Keep abstract fun addPassToAppleWallet(base64String: String): Promise @DoNotStrip @Keep abstract fun viewPassInAppleWallet(cardIdentifier: String, serialNumber: String?): Promise @DoNotStrip @Keep abstract fun doesPassExistInAppleWallet(cardIdentifier: String, serialNumber: String?): Promise @DoNotStrip @Keep abstract fun removePassFromAppleWallet(cardIdentifier: String, serialNumber: String?): Promise private external fun initHybrid(): HybridData companion object { private const val TAG = "HybridNitroWalletSpec" } }