Package-level declarations

Types

Link copied to clipboard
typealias AuthTokenCallback = (chatId: String) -> Deferred<String>

Callback for providing an authentication token to the SDK. The SDK calls this with the current chatId; return a Deferred that resolves to a valid JWT token string.

Link copied to clipboard

Behavior type enum for the Kindly Chat SDK. Determines how the chat interface is displayed to users.

Link copied to clipboard
open class ChatKindlySDK(application: Application, botKey: String, languageCode: String = "en", behaviorType: BehaviorType = BehaviorType.NATIVE, authTokenCallback: AuthTokenCallback? = null) : EntryPoint

Main implementation of the Kindly Chat SDK. Use the companion object methods (e.g., KindlySDK.start(), KindlySDK.launchChat()) to interact with the SDK.

Link copied to clipboard
interface EntryPoint

Public interface defining the Kindly Chat SDK API. Use ChatKindlySDK (aliased as KindlySDK) to access the implementation.

Link copied to clipboard

Convenience alias for ChatKindlySDK. Use KindlySDK to access the SDK.

Link copied to clipboard

Configuration for the Kindly Chat SDK. Access via ChatKindlySDK.config to modify permissions, theme, and status bar behavior.