/// /// HybridSensitiveInfoSpec.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.sensitiveinfo import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.Promise import com.margelo.nitro.core.NullType import com.margelo.nitro.core.HybridObject /** * A Kotlin class representing the SensitiveInfo HybridObject. * Implement this abstract class to create Kotlin-based instances of SensitiveInfo. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridSensitiveInfoSpec: HybridObject() { // Properties // Methods @DoNotStrip @Keep abstract fun setItem(request: SensitiveInfoSetRequest): Promise @DoNotStrip @Keep abstract fun getItem(request: SensitiveInfoGetRequest): Promise @DoNotStrip @Keep abstract fun deleteItem(request: SensitiveInfoDeleteRequest): Promise @DoNotStrip @Keep abstract fun hasItem(request: SensitiveInfoHasRequest): Promise @DoNotStrip @Keep abstract fun getAllItems(request: SensitiveInfoEnumerateRequest?): Promise> @DoNotStrip @Keep abstract fun clearService(request: SensitiveInfoOptions?): Promise @DoNotStrip @Keep abstract fun getSupportedSecurityLevels(): Promise @DoNotStrip @Keep abstract fun rotateKeys(request: RotateKeysRequest?): Promise @DoNotStrip @Keep abstract fun getKeyVersion(request: SensitiveInfoOptions?): Promise // Default implementation of `HybridObject.toString()` override fun toString(): String { return "[HybridObject SensitiveInfo]" } // C++ backing class @DoNotStrip @Keep protected open class CxxPart(javaPart: HybridSensitiveInfoSpec): HybridObject.CxxPart(javaPart) { // C++ JHybridSensitiveInfoSpec::CxxPart::initHybrid(...) external override fun initHybrid(): HybridData } override fun createCxxPart(): CxxPart { return CxxPart(this) } companion object { protected const val TAG = "HybridSensitiveInfoSpec" } }