/// /// HybridNitroGoogleSigninSpec.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.nitrogooglesignin import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import dalvik.annotation.optimization.FastNative import com.margelo.nitro.core.Promise import com.margelo.nitro.core.NullType import com.margelo.nitro.core.HybridObject /** * A Kotlin class representing the NitroGoogleSignin HybridObject. * Implement this abstract class to create Kotlin-based instances of NitroGoogleSignin. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridNitroGoogleSigninSpec: HybridObject() { // Properties // Methods @DoNotStrip @Keep abstract fun configure(params: OneTapConfigureParams): Unit @DoNotStrip @Keep abstract fun checkPlayServices(showErrorResolutionDialog: Boolean?): Promise @DoNotStrip @Keep abstract fun signIn(): Promise @DoNotStrip @Keep abstract fun createAccount(): Promise @DoNotStrip @Keep abstract fun presentExplicitSignIn(): Promise @DoNotStrip @Keep abstract fun requestScopes(scopes: Array): Promise @DoNotStrip @Keep abstract fun getCurrentUser(): Variant_NullType_OneTapSuccessData @DoNotStrip @Keep abstract fun getTokens(): Promise @DoNotStrip @Keep abstract fun clearCachedAccessToken(accessTokenString: String): Promise @DoNotStrip @Keep abstract fun signOut(): Promise @DoNotStrip @Keep abstract fun revokeAccess(emailOrUniqueId: String): Promise // Default implementation of `HybridObject.toString()` override fun toString(): String { return "[HybridObject NitroGoogleSignin]" } // C++ backing class @DoNotStrip @Keep protected open class CxxPart(javaPart: HybridNitroGoogleSigninSpec): HybridObject.CxxPart(javaPart) { // C++ JHybridNitroGoogleSigninSpec::CxxPart::initHybrid(...) @FastNative external override fun initHybrid(): HybridData } override fun createCxxPart(): CxxPart { return CxxPart(this) } companion object { protected const val TAG = "HybridNitroGoogleSigninSpec" } }