Package-level declarations

Types

Link copied to clipboard
data class AudioChatStyle(@DrawableRes var playPauseIcon: Int, var iconStyle: IconButtonChatStyle?, @DimenRes var seekerThumbRadius: Int?) : Serializable

Описывает стиль для аудио компонентов в чате

Link copied to clipboard
data class BackgroundStyle(@ColorRes var backgroundColor: Int? = null, @DrawableRes var backgroundDrawableRes: Int? = null) : Serializable, ComponentStyle

Стиль для описания фоновых элементов

Link copied to clipboard
data class BalloonsChatStyle(@DimenRes var balloonsTextSize: Int? = null, @ColorRes var balloonsTextColor: Int? = null, @ColorRes var balloonsBackgroundColor: Int? = null, @DrawableRes var balloonBackground: Int? = null, var balloonText: String? = null) : Serializable, ComponentStyle

Описывает стиль для Toast-ов

Link copied to clipboard
data class BubblesChatStyle(@DrawableRes var imageResId: Int? = null, @ColorRes var tintColor: Int, var margins: SideSize? = null, var paddings: SideSize? = null) : Serializable, ComponentStyle

Описывает стиль для бабблов

Link copied to clipboard
class ChatDateTextStyle(text: ChatTextStyle? = null, @ColorRes backgroundColor: Int? = null, @DrawableRes backgroundImage: Int? = null, font: ChatFontStyle? = null, @ColorRes textColor: Int? = null, @ColorRes linkTextColor: Int? = null, var dateStyle: SimpleDateFormat? = null, var currentTimeInMillis: Long? = null) : TextMessageStyle

Описывает стили для дат

Link copied to clipboard
data class ChatFontStyle(var fontPath: Typeface? = null, var fontSize: Int? = null) : Serializable

Стиль шрифта

Link copied to clipboard
open class ChatTextStyle(var text: String? = null, var textResId: Int? = null, var isCapsEnabled: Boolean? = null, var isBold: Boolean = false, var isItalic: Boolean = false, var isUnderlined: Boolean = false, var textAlignment: Alignment? = null) : Serializable

Описывает стиль для текста

Link copied to clipboard
data class ImageChatStyle(var drawable: Drawable? = null, @DrawableRes var mask: Int? = null) : Serializable

Описывает стиль базовые параметры изображения

Link copied to clipboard
data class ImagesChatStyle(var background: BackgroundStyle? = null, @DrawableRes var mask: Int? = null, @DrawableRes var imageResId: Int? = null, var size: ViewSizeStyle? = null, @ColorRes var tintColor: Int? = null, var borders: SideSize? = null, var paddings: SideSize? = null) : Serializable, ComponentStyle

Описывает стиль для изображений

Link copied to clipboard
data class InputChatStyle(var font: ChatFontStyle? = null, @ColorRes var textColor: Int? = null, @ColorRes var hintColor: Int? = null, var placeholderText: String? = null, var background: BackgroundStyle? = null, var inputSizes: InputSizesStyle? = null, var marginSizes: MarginsPaddingsChatStyle? = null, @StringRes var disabledInputMessageText: Int = R.string.ecc_disabled_input_message) : Serializable, ComponentStyle

Стиль для поля ввода

Link copied to clipboard
data class InputSizesStyle(@DimenRes var inputHeight: Int? = null, @DimenRes var inputWidth: Int? = null) : Serializable, ComponentStyle

Задает размеры для поля ввода

Link copied to clipboard
data class InputViewStyle(var sendButton: IconButtonChatStyle, var attachButton: IconButtonChatStyle, var voiceButton: IconButtonChatStyle, var textInput: InputChatStyle? = null) : Serializable

Описывает стиль для поля ввода плюс его окружение (кнопки отправки и т.д.)

Link copied to clipboard
class LoaderChatStyle(var loader: LoadingIndicatorChatStyle, var size: Int? = null, var text: TextMessageStyle? = null) : Serializable, ComponentStyle

Описывает стиль для лоадеров

Link copied to clipboard
data class MarginsPaddingsChatStyle(var marginsChatStyle: SideSize? = null, var paddingsChatStyle: SideSize? = null) : Serializable

Описывает стиль для внутренних и внешних отступов

Link copied to clipboard
data class NavigationBarStyle(@ColorRes var backgroundColor: Int, @ColorRes var statusBarColor: Int, var visibleShadow: Boolean, var centerToolbarText: Boolean, val closeButtonEnabled: Boolean, val chatSubtitleEnabled: Boolean, var backButton: IconButtonChatStyle, var invertedBackButton: IconButtonChatStyle, var searchButton: IconButtonChatStyle, var copyButton: IconButtonChatStyle, var replyButton: IconButtonChatStyle, var toolbarHeaderText: TextMessageStyle, var toolbarSubtitleText: TextMessageStyle, var toolbarSpannableHeaderText: SpannableTextStyle) : Serializable, ComponentStyle

Описывает стиль для панели навигации

Link copied to clipboard
data class PermissionDescriptionPopupStyle(var image: ImageChatStyle? = null, var descriptionText: TextMessageStyle? = null, var allowButton: TextButtonChatStyle, var closeButton: TextButtonChatStyle) : Serializable

Стиль для всплывающего сообщения с описанием запрашиваемых разрешений

Link copied to clipboard
data class QuickRepliesStyle(var navigationBarStyle: NavigationBarStyle, @ColorRes var backgroundColor: Int, @DrawableRes var replyIcon: Int? = null, @ColorRes var iconColor: Int? = null, var sendButton: IconButtonChatStyle, var consultNameText: TextMessageStyle, var questionText: TextMessageStyle, var fastTextInput: InputChatStyle? = null)

Описывает стиль для быстрых ответов

Link copied to clipboard
data class QuoteViewStyle(var quoteHeaderChatViewText: TextMessageStyle, var quoteMessageChatViewText: TextMessageStyle, var quoteDurationChatViewText: TextMessageStyle, var quoteClearIconButton: IconButtonChatStyle)

Описывает стиль для цитат

Link copied to clipboard
data class SearchChatComponent(context: Context, colors: ChatColors, images: ChatImages, texts: ChatTexts) : Serializable, ComponentStyle

Стиль для поиска

Link copied to clipboard
data class SearchResultsStyle(@ColorRes var searchResultsItemNameTextColor: Int? = null, @ColorRes var searchResultsItemMessageTextColor: Int? = null, @ColorRes var searchResultsItemDateTextColor: Int? = null, @ColorRes var searchResultsDividerColor: Int? = null, @DrawableRes var searchResultsItemRightArrowDrawable: Int? = null, @ColorRes var searchResultsItemRightArrowTintColor: Int? = null, @DrawableRes var searchResultsNoItemsImageDrawable: Int? = null, var searchResultsNoItemsText: String? = null, @ColorRes var searchResultsNoItemsTextColor: Int? = null)
Link copied to clipboard
data class SimpleNavigationBarStyle(var backgroundColor: Int, var statusBarColor: Int, var backButton: IconButtonChatStyle, var title: TextMessageStyle) : Serializable

Описывает стиль для панели навигации с меньшим количеством элементов

Link copied to clipboard
data class SurveyStyle(@ColorRes var surveyFinalColorFilterResId: Int = R.color.ecc_outgoing_message_text, var binarySurveyLikeUnselected: ImagesChatStyle? = null, var binarySurveyLikeSelected: ImagesChatStyle? = null, var binarySurveyDislikeUnselected: ImagesChatStyle? = null, var binarySurveyDislikeSelected: ImagesChatStyle? = null, var optionsSurveyUnselected: ImagesChatStyle? = null, var optionsSurveySelected: ImagesChatStyle? = null)

Описывает стиль для сообщений-опросов

Link copied to clipboard
data class TextButtonChatStyle(var chatText: TextMessageStyle? = null, @ColorRes var strokeColorResId: Int? = null, @DimenRes var strokeWidthDpResId: Int? = null, @ColorRes var buttonColor: Int? = null, var colorStateList: ColorStateList? = null, var cornersRadius: CornersSize? = null, @DrawableRes var background: Int? = null) : Serializable, ComponentStyle

Описывает стиль для текстовых кнопок

Link copied to clipboard
open class TextImageStyle(@StringRes var text: Int? = null, @DimenRes var textSize: Int = R.dimen.ecc_text_small, @ColorRes var textColor: Int = R.color.ecc_chat_toolbar, @DrawableRes var icon: Int? = null, var drawablePosition: Int? = null, @ColorRes var backgroundColor: Int? = null, @ColorRes var tintColor: Int? = null, @DimenRes var elevation: Int? = null) : Serializable, ComponentStyle

Описывает стиль для TextView с картинками

Link copied to clipboard
data class ViewSizeStyle(@DimenRes var height: Int? = null, @DimenRes var width: Int? = null) : Serializable, ComponentStyle

Размер элемента

Link copied to clipboard
data class WelcomeScreenStyle(var welcomeScreenTitle: TextMessageStyle, var welcomeScreenSubtitle: TextMessageStyle, var welcomeScreenImage: ImagesChatStyle, @ColorRes var backgroundColor: Int?) : Serializable, ComponentStyle

Стиль для окна приветствия