UrlDisplayMode

Controls how tappable URLs within chat messages are opened on the end user's device.

Set the desired mode via UIConfiguration.urlDisplayMode when creating your configuration:

See also

Samples

com.salesforce.android.smi.ui.samples.UIConfigurationSamples.urlDisplayMode

Entries

Link copied to clipboard

Opens URLs in the device's default browser app, navigating the user away from the messaging UI. Use this mode when your URLs require full browser capabilities (e.g., downloads, multi-tab workflows) or when you want a clear separation between the chat experience and web content.

Link copied to clipboard

Opens URLs in a Chrome Custom Tab, keeping the user within your app's task stack. This is the default mode and provides a seamless browsing experience with faster load times compared to a full browser launch.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.