androidchatsdk / Notable Classes / UIHeaderConfiguration
UIHeaderConfiguration
class UIHeaderConfiguration
UI ServerConfiguration for the Sidekick header.
Parameters
titleText
- The text to be displayed in the chat banner.
backgroundColor
- The background color of the chat banner.
statusBarColor
- The background color of the top status/system bar.
closeText
- The text to display on the close
button.
closeAlignmentLeft
- Alight the close button to the left if true. Aligns to the right if false.
Constructors
Name | Summary |
---|---|
<init> | UIHeaderConfiguration(titleText: String = "Sidekick Chat", backgroundColor: Int = Color.argb(255, 0, 255, 0), statusBarColor: Int = Color.argb(255, 0, 255, 0), closeText: String = "", closeAlignmentLeft: Boolean = true) UI ServerConfiguration for the Sidekick header. |
Properties
Name | Summary |
---|---|
backgroundColor | val backgroundColor: Int The background color of the chat banner. |
closeAlignmentLeft | val closeAlignmentLeft: Boolean Alight the close button to the left if true. Aligns to the right if false. |
closeText | val closeText: String The text to display on the close button. |
statusBarColor | val statusBarColor: Int The background color of the top status/system bar. |
titleText | val titleText: String The text to be displayed in the chat banner. |