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.urlDisplayModeEntries
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.
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
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.