UI Color & Theme

SDK Themes

The SDK UI has two color themes: light and dark.

You can set which theme to use with the following method.

Primary Color, Fonts, and Backgrounds

You can also further customize the SDK to match your brand’s design and identity by utilizing the API below. This API offers to set the color of UI elements that indicate interactivity, Font color, types and styles, background color, and call-to-action colors.

Parameters Mapping

Report Description
Prompt Menu
Visited Screens
Thank You Message
Chats List
Chats Messages
Attachments

Report Description

Prompt Menu

Visited Screens

Thank You Message

Chats List

Chats Messages

Attachments

Floating Button Position

If your invocation event is a floating button, you can set its position in your app. The CGRectMaxXEdge will add the button to the right edge of the screen. The CGRectMinXEdge will add it to the left edge. The TopOffset specifies its position on the y-axis.

Video Recording Button Position

If you've enabled video recordings as attachments, you can change the position of the red recording button displayed in the screenshot below. The default position of the button is bottom right.

An example of the video recording button placed in the bottom right of an app.

Use this method below to set the position of the video recording button.

Here are the possible values:

Last updated