/// /// HybridScreenshotManagerSpec.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.screenshotmanager 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 ScreenshotManager HybridObject. * Implement this abstract class to create Kotlin-based instances of ScreenshotManager. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridScreenshotManagerSpec: HybridObject() { // Properties // Methods @DoNotStrip @Keep abstract fun enabled(value: Boolean): Unit abstract fun addListener(listener: () -> Unit): () -> Unit @DoNotStrip @Keep private fun addListener_cxx(listener: Func_void): Func_void { val __result = addListener(listener) return Func_void_java(__result) } // Default implementation of `HybridObject.toString()` override fun toString(): String { return "[HybridObject ScreenshotManager]" } // C++ backing class @DoNotStrip @Keep protected open class CxxPart(javaPart: HybridScreenshotManagerSpec): HybridObject.CxxPart(javaPart) { // C++ JHybridScreenshotManagerSpec::CxxPart::initHybrid(...) external override fun initHybrid(): HybridData } override fun createCxxPart(): CxxPart { return CxxPart(this) } companion object { protected const val TAG = "HybridScreenshotManagerSpec" } }