UIClient
The entry point for the Messaging for In-App UI SDK.
UIClient provides the primary interface for launching and configuring the pre-built messaging UI. It manages the lifecycle of the conversation view and bridges between the UI layer and the underlying CoreClient business logic.
Obtain an instance using UIClient.Factory:
See also
Samples
val configuration = UIConfiguration(
serviceAPI = "https://myorg.my.salesforce-scrt.com",
organizationId = "00D000000000001AAA",
developerName = "My_Deployment",
conversationId = UUID.randomUUID()
)
val uiClient = UIClient.Factory.create(configuration)Types
Properties
The UIConfiguration that this instance was created with.
A provider for pre-populating visible pre-chat field values before the form is displayed.
A container for customizing the Composable components rendered in the messaging UI.
Functions
Returns a ConversationClient bound to the UIConfiguration.conversationId.
Returns the CoreClient instance associated with this UI client.
Creates an Intent for launching the messaging UI activity.
A Composable that renders the full messaging UI for this client instance.
Launches the messaging UI in a new full-screen activity.