UIClient

interface UIClient

The entry point for the Messaging for In-App UI SDK.

Types

Link copied to clipboard
object Companion

Factory for creating an instance of UIClient.

Properties

Link copied to clipboard

The Messaging for In-App configuration object.

Link copied to clipboard
abstract var preChatFieldValueProvider: (List<PreChatField>) -> List<PreChatField>?

A provider for supplying pre-populated pre-chat values.

Link copied to clipboard

A container for all of the customizable Composable components in the UI.

Functions

Link copied to clipboard
abstract fun conversationClient(context: Context): ConversationClient

Creates a ConversationClient client for interacting with a conversation given the current UIConfiguration.conversationId.

Link copied to clipboard
abstract fun coreClient(context: Context): CoreClient

Creates the CoreClient singleton instance given the current UIConfiguration.

Link copied to clipboard
abstract fun createOpenConversationIntent(context: Context): Intent

Creates an Intent for opening a conversation.

Link copied to clipboard
@Composable
open fun MessagingInAppUI(onExit: () -> Unit)

The Messaging for In-App Composable configured for this UIClient instance.

Link copied to clipboard
abstract fun openConversationActivity(context: Context)

Opens the conversation in a new activity.