Display Names
enum class AgentforceDisplayNameType
Enumerates every user-visible string in the full-UI chat experience that you can override — titles, hints, button labels, and similar strings.
Declared in package com.salesforce.android.agentforcesdk.components.theme.
Map an AgentforceDisplayNameType to your text in AgentforceThemeOverrides. Preserve any format placeholders (%s, %d, %1$s) present in the default string — the SDK substitutes real values into them at render time.
An empty override string is treated as unset, so the SDK’s built-in string resource applies instead.
The enum covers 45 customizable strings. These are the slots referenced elsewhere in the theming docs:
| Member | Default text (English) | Appears on |
|---|---|---|
ServiceAIAgentName | Agent display name | Title bar, launcher |
InputTextPlaceholder | Message input placeholder | Composer input bar |
PreChatSubmitButton | Pre-chat submit button label | Pre-chat form |
This is not the complete list. Get the full
AgentforceDisplayNameTypeenum, each string’s default text, the screen it appears on, and its resource ID from the Android team before publishing.
- AgentforceThemeManager —
getDisplayName(...). - Custom Icons — the equivalent mechanism for customizable icons.