/// /// HybridThorViewSpec.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.thor import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.HybridObject import com.margelo.nitro.views.HybridView /** * A Kotlin class representing the ThorView HybridObject. * Implement this abstract class to create Kotlin-based instances of ThorView. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridThorViewSpec: HybridView() { // Properties @get:DoNotStrip @get:Keep @set:DoNotStrip @set:Keep abstract var shapes: Array @get:DoNotStrip @get:Keep @set:DoNotStrip @set:Keep abstract var backend: ThorBackend? // Methods @DoNotStrip @Keep abstract fun drawShapes(shapes: Array): Unit // Default implementation of `HybridObject.toString()` override fun toString(): String { return "[HybridObject ThorView]" } // C++ backing class @DoNotStrip @Keep protected open class CxxPart(javaPart: HybridThorViewSpec): HybridObject.CxxPart(javaPart) { // C++ JHybridThorViewSpec::CxxPart::initHybrid(...) external override fun initHybrid(): HybridData } override fun createCxxPart(): CxxPart { return CxxPart(this) } companion object { protected const val TAG = "HybridThorViewSpec" } }