UIConfiguration
Configuration for creating a UIClient instance that manages the Messaging for In-App UI.
UIConfiguration combines deployment connection details (inherited from Configuration) with UI-specific settings such as URL handling, attachment permissions, and transcript options. Pass an instance to UIClient.Factory to obtain a UIClient.
See also
Samples
val configuration = UIConfiguration(
serviceAPI = "https://myorg.my.salesforce-scrt.com",
organizationId = "00D000000000001AAA",
developerName = "My_Deployment",
conversationId = UUID.randomUUID()
)Constructors
Creates a UIConfiguration from explicit string parameters.
Creates a UIConfiguration from an existing Configuration instance.
Properties
Controls agent display behavior such as typing indicators and avatars.
Controls whether end users can send file attachments and sets file type and size constraints.
Identifies the SDK product variant on authorization requests. Use the default unless directed otherwise by Salesforce support.
Identifies the client protocol version on authorization requests. Use the default unless directed otherwise by Salesforce support.
A unique identifier for the conversation. Use UUID.randomUUID for new conversations or supply an existing ID to resume a previous conversation. After an app reinstall for unverified users, always generate a new ID — the previous conversation is no longer accessible because the local encrypted database was cleared.
Controls which options appear in the conversation menu, such as the ability to end a chat.
When true (default), the conversation is created on the server as soon as the end user submits the pre-chat form. Set to false to defer conversation creation until the first message is sent.
The API Name of the Embedded Service Deployment.
When true, indicates that the deployment requires user verification via a signed JWT. Register a UserVerificationProvider on the CoreClient to supply tokens.
An optional extension that enables voice and video capabilities. Pass null (default) if multimedia is not needed.
The 18-character Salesforce organization ID.
Maps device locale codes to deployment-configured languages for resolving custom label translations. See Configuration.remoteLocaleMap for format details.
The base URL of the Messaging for In-App service API for your deployment.
Controls whether the end user can download a chat transcript.
Controls how tappable URLs in messages are opened on the device. Defaults to UrlDisplayMode.InlineBrowser which uses Chrome Custom Tabs.