/// /// HybridImageLoaderFactorySpec.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.image import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.HybridObject /** * A Kotlin class representing the ImageLoaderFactory HybridObject. * Implement this abstract class to create Kotlin-based instances of ImageLoaderFactory. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridImageLoaderFactorySpec: HybridObject() { // Properties // Methods @DoNotStrip @Keep abstract fun createFileImageLoader(filePath: String): HybridImageLoaderSpec @DoNotStrip @Keep abstract fun createResourceImageLoader(name: String): HybridImageLoaderSpec @DoNotStrip @Keep abstract fun createSymbolImageLoader(symbolName: String): HybridImageLoaderSpec @DoNotStrip @Keep abstract fun createRawPixelDataImageLoader(data: RawPixelData): HybridImageLoaderSpec @DoNotStrip @Keep abstract fun createEncodedImageDataImageLoader(data: EncodedImageData): HybridImageLoaderSpec // Default implementation of `HybridObject.toString()` override fun toString(): String { return "[HybridObject ImageLoaderFactory]" } // C++ backing class @DoNotStrip @Keep protected open class CxxPart(javaPart: HybridImageLoaderFactorySpec): HybridObject.CxxPart(javaPart) { // C++ JHybridImageLoaderFactorySpec::CxxPart::initHybrid(...) external override fun initHybrid(): HybridData } override fun createCxxPart(): CxxPart { return CxxPart(this) } companion object { protected const val TAG = "HybridImageLoaderFactorySpec" } }