/// /// HybridBarcodeSpec.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.camera.barcodescanner import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.ArrayBuffer import com.margelo.nitro.core.HybridObject /** * A Kotlin class representing the Barcode HybridObject. * Implement this abstract class to create Kotlin-based instances of Barcode. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridBarcodeSpec: HybridObject() { // Properties @get:DoNotStrip @get:Keep abstract val format: BarcodeFormat @get:DoNotStrip @get:Keep abstract val boundingBox: Rect @get:DoNotStrip @get:Keep abstract val cornerPoints: Array @get:DoNotStrip @get:Keep abstract val displayValue: String? @get:DoNotStrip @get:Keep abstract val rawBytes: ArrayBuffer? @get:DoNotStrip @get:Keep abstract val rawValue: String? @get:DoNotStrip @get:Keep abstract val valueType: BarcodeValueType // Methods // Default implementation of `HybridObject.toString()` override fun toString(): String { return "[HybridObject Barcode]" } // C++ backing class @DoNotStrip @Keep protected open class CxxPart(javaPart: HybridBarcodeSpec): HybridObject.CxxPart(javaPart) { // C++ JHybridBarcodeSpec::CxxPart::initHybrid(...) external override fun initHybrid(): HybridData } override fun createCxxPart(): CxxPart { return CxxPart(this) } companion object { protected const val TAG = "HybridBarcodeSpec" } }