/// /// HybridAcousticConnectRNSpec.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.acousticconnectrn import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.NullType import com.margelo.nitro.core.Promise import com.margelo.nitro.core.ArrayBuffer import com.margelo.nitro.core.HybridObject /** * A Kotlin class representing the AcousticConnectRN HybridObject. * Implement this abstract class to create Kotlin-based instances of AcousticConnectRN. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridAcousticConnectRNSpec: HybridObject() { // Properties // Methods @DoNotStrip @Keep abstract fun enable(): Boolean @DoNotStrip @Keep abstract fun disable(): Boolean @DoNotStrip @Keep abstract fun setBooleanConfigItemForKey(key: String, value: Boolean, moduleName: String): Boolean @DoNotStrip @Keep abstract fun setStringItemForKey(key: String, value: String, moduleName: String): Boolean @DoNotStrip @Keep abstract fun setNumberItemForKey(key: String, value: Double, moduleName: String): Boolean @DoNotStrip @Keep abstract fun setConfigItemForKey(key: String, value: Variant_Boolean_String_Double, moduleName: String): Boolean @DoNotStrip @Keep abstract fun getBooleanConfigItemForKey(theDefault: Boolean, key: String, moduleName: String): Boolean @DoNotStrip @Keep abstract fun getStringItemForKey(theDefault: String, key: String, moduleName: String): Variant_NullType_String? @DoNotStrip @Keep abstract fun getNumberItemForKey(theDefault: Double, key: String, moduleName: String): Double @DoNotStrip @Keep abstract fun logCustomEvent(eventName: String, values: Map, level: Double): Boolean @DoNotStrip @Keep abstract fun logSignal(values: Map, level: Double): Boolean @DoNotStrip @Keep abstract fun logExceptionEvent(message: String, stackInfo: String, unhandled: Boolean): Boolean @DoNotStrip @Keep abstract fun logLocation(): Boolean @DoNotStrip @Keep abstract fun logLocationWithLatitudeLongitude(latitude: Double, longitude: Double, level: Double): Boolean @DoNotStrip @Keep abstract fun logClickEvent(target: Double, controlId: String): Boolean @DoNotStrip @Keep abstract fun logTextChangeEvent(target: Double, controlId: String, text: Variant_NullType_String?): Boolean @DoNotStrip @Keep abstract fun setCurrentScreenName(logicalPageName: String): Boolean @DoNotStrip @Keep abstract fun logScreenViewContextLoad(logicalPageName: Variant_NullType_String?, referrer: Variant_NullType_String?): Boolean @DoNotStrip @Keep abstract fun logScreenViewContextUnload(logicalPageName: Variant_NullType_String?, referrer: Variant_NullType_String?): Boolean @DoNotStrip @Keep abstract fun logScreenLayout(name: String, delay: Double): Boolean @DoNotStrip @Keep abstract fun logDialogShowEvent(dialogId: String, dialogTitle: String, dialogType: String): Boolean @DoNotStrip @Keep abstract fun logDialogDismissEvent(dialogId: String, dismissReason: String): Boolean @DoNotStrip @Keep abstract fun logDialogButtonClickEvent(dialogId: String, buttonText: String, buttonIndex: Double): Boolean @DoNotStrip @Keep abstract fun logDialogCustomEvent(dialogId: String, eventName: String, values: Map): Boolean @DoNotStrip @Keep abstract fun logIdentity(identifierName: String, identifierValue: String, signalType: String?, additionalParameters: Map?): Promise @DoNotStrip @Keep abstract fun pushDidRegisterWithToken(deviceToken: ArrayBuffer): Promise @DoNotStrip @Keep abstract fun pushDidFailToRegister(error: PushErrorInfo): Promise @DoNotStrip @Keep abstract fun pushDidReceiveNotification(userInfo: Map): Promise @DoNotStrip @Keep abstract fun pushDidReceiveResponse(actionIdentifier: String, userInfo: Map): Promise @DoNotStrip @Keep abstract fun pushDidReceiveAuthorization(granted: Variant_NullType_Boolean?, error: PushErrorInfo?): Promise @DoNotStrip @Keep abstract fun pushRequestPermission(): Promise @DoNotStrip @Keep abstract fun pushGetPermissionState(): Promise // Default implementation of `HybridObject.toString()` override fun toString(): String { return "[HybridObject AcousticConnectRN]" } // C++ backing class @DoNotStrip @Keep protected open class CxxPart(javaPart: HybridAcousticConnectRNSpec): HybridObject.CxxPart(javaPart) { // C++ JHybridAcousticConnectRNSpec::CxxPart::initHybrid(...) external override fun initHybrid(): HybridData } override fun createCxxPart(): CxxPart { return CxxPart(this) } companion object { protected const val TAG = "HybridAcousticConnectRNSpec" } }