KindlySDKInteraction

Interface for receiving button press and link interception callbacks from the Kindly SDK. Set via ChatKindlySDK.interface to start receiving events.

Functions

Link copied to clipboard
abstract fun didPressButton(chatButton: ButtonChat, chatLog: List<MessageChat>)

Called when a chat button is pressed by the user.

Link copied to clipboard

Called when a link is about to be opened from within the SDK. Return true to let the SDK handle the link normally, or false to handle it yourself in the host app.

Link copied to clipboard

Called for every Kindly silent push the SDK receives and successfully decrypts. Fires regardless of app state (foreground/background) or active screen — the SDK does not gate this callback. Use it to run side effects (analytics, logging) or to take over the presentation of the notification yourself.