package ru.forbion.f7cloud.feature.talknative

import ru.forbion.f7cloud.core.auth.AuthSession

/**
 * Entry point for talk-android shell integration.
 * When [TalkNativeConfig.useNativeTalkShell] is false, the app uses legacy [TalkScreen].
 */
object TalkNativeFacade {
    val isNativeShellEnabled: Boolean get() = TalkNativeConfig.useNativeTalkShell

    fun accountFor(session: AuthSession): TalkAccount = TalkAuthBridge.fromSession(session)

    /** Placeholder for future native Talk list/chat Activities from vendor/talk-android. */
    fun nativeShellReady(): Boolean = false
}
