public class EPBotAppearance
Object representing the appearance of a chat conversation.
Modifier and Type | Field and Description |
---|---|
EPSize |
avatarSize
The Avatar size.
|
EPBotButtonStyle |
cancelButtonStyle
The cancel button style to use in the inputs
|
android.graphics.drawable.Drawable |
checkIcon
Input check icon used in the Boolean input button.
|
android.graphics.drawable.Drawable |
closeIcon
Input close icon used in the Boolean/Picture input button.
|
android.graphics.drawable.Drawable |
grpdIcon
Input grpd icon used in the Alert Dialog.
|
EPBubbleAppearance |
incomingBottomBubble
The appearance to use for an incoming message bottom bubble.
|
EPBubbleAppearance |
incomingMiddleBubble
The appearance to use for an incoming message middle bubble.
|
EPBubbleAppearance |
incomingSingleBubble
The appearance to use for an incoming message single bubble.
|
EPBubbleAppearance |
incomingTopBubble
The appearance to use for an incoming message top bubble.
|
EPBubbleAppearance |
outgoingBottomBubble
The appearance to use for an outgoing message bottom bubble.
|
EPBubbleAppearance |
outgoingMiddleBubble
The appearance to use for an outgoing message middle bubble.
|
EPBubbleAppearance |
outgoingSingleBubble
The appearance to use for an outgoing message single bubble.
|
EPBubbleAppearance |
outgoingTopBubble
The appearance to use for an outgoing message top bubble.
|
android.graphics.drawable.Drawable |
pictureIcon
Input picture icon used in the Picture input button.
|
android.graphics.drawable.Drawable |
searchIcon
Input search icon.
|
android.graphics.drawable.Drawable |
sendButtonIcon
Input send icon (Date or Number input).
|
android.graphics.drawable.Drawable |
sendPromptIcon
Input send icon (Tags or Text input).
|
java.lang.String |
typingAnimation
The typing animation to use in the bubble
|
Constructor and Description |
---|
EPBotAppearance()
Object representing the appearance of a chat conversation.
|
Modifier and Type | Method and Description |
---|---|
EPSize |
getAvatarSize()
The Avatar size.
|
int |
getAvatarTopMargin()
The Avatar top margin, used to create a gap between the avatar and the bubble
|
int |
getBackgroundColor()
The background color of the fragment
|
android.graphics.drawable.Drawable |
getBackgroundDrawable()
The background drawable of the fragment
|
int |
getButtonSearchTextColor()
The button search text color to use in the Choice input
|
int |
getButtonTextColor()
The button text color to use in the inputs
|
int |
getCancelButtonColor()
The cancel button color to use in the inputs
|
EPBotButtonStyle |
getCancelButtonStyle()
The cancel button style to use in the inputs
|
int |
getCancelButtonTextColor()
The cancel button text color to use in the inputs
|
android.graphics.drawable.Drawable |
getCheckIcon()
Input check icon used in the Boolean input button.
|
android.graphics.drawable.Drawable |
getCloseIcon()
Input close icon used in the Boolean/Picture input button.
|
int |
getEndButtonColor()
The end button color to use at the end of a bot
|
int |
getEndButtonTextColor()
The end button text color to use at the end of a bot
|
android.graphics.drawable.Drawable |
getGrpdIcon()
Input grpd icon used in the Alert Dialog.
|
int |
getHeaderTextAppearance()
The TextAppearance of the text used to display the time
|
EPBubbleAppearance |
getIncomingBottomBubble()
The appearance to use for an incoming message bottom bubble.
|
EPBubbleAppearance |
getIncomingMiddleBubble()
The appearance to use for an incoming message middle bubble.
|
EPBubbleAppearance |
getIncomingSingleBubble()
The appearance to use for an incoming message single bubble.
|
EPBubbleAppearance |
getIncomingTopBubble()
The appearance to use for an incoming message top bubble.
|
int |
getInputBackgroundColor()
The color of the bottom sheet used to display the inputs
|
EPBubbleAppearance |
getOutgoingBottomBubble()
The appearance to use for an outgoing message bottom bubble.
|
EPBubbleAppearance |
getOutgoingMiddleBubble()
The appearance to use for an outgoing message middle bubble.
|
EPBubbleAppearance |
getOutgoingSingleBubble()
The appearance to use for an outgoing message single bubble.
|
EPBubbleAppearance |
getOutgoingTopBubble()
The appearance to use for an outgoing message top bubble.
|
android.graphics.drawable.Drawable |
getPictureIcon()
Input picture icon used in the Picture input button.
|
android.graphics.drawable.Drawable |
getSearchIcon()
Input search icon.
|
android.graphics.drawable.Drawable |
getSendButtonIcon()
Input send icon (Date or Number input).
|
android.graphics.drawable.Drawable |
getSendPromptIcon()
Input send icon (Tags or Text input).
|
int |
getTagColor()
The tag color to use in the Tags input
|
int |
getTagTextColor()
The tag text color to use in the Tags input
|
java.lang.String |
getTypingAnimation()
The typing animation to use in the bubble
|
java.lang.String |
getTypingAnimationCacheKey()
The cache key of the typing animation to cache it
|
int |
getTypingAnimationPaddingBottom()
The padding bottom of the typing animation
|
int |
getTypingAnimationPaddingEnd()
The padding end of the typing animation
|
int |
getTypingAnimationPaddingStart()
The padding start of the typing animation
|
int |
getTypingAnimationPaddingTop()
The padding top of the typing animation
|
float |
getTypingAnimationScale()
The scale of the typing animation
|
boolean |
isAvatarRounded()
Set to true to round the Avatar
|
void |
setAvatarRounded(boolean p)
Set to true to round the Avatar
|
void |
setAvatarSize(EPSize p)
The Avatar size.
|
void |
setAvatarTopMargin(int p)
The Avatar top margin, used to create a gap between the avatar and the bubble
|
void |
setBackgroundColor(int p)
The background color of the fragment
|
void |
setBackgroundDrawable(android.graphics.drawable.Drawable p)
The background drawable of the fragment
|
void |
setButtonSearchTextColor(int p)
The button search text color to use in the Choice input
|
void |
setButtonTextColor(int p)
The button text color to use in the inputs
|
void |
setCancelButtonColor(int p)
The cancel button color to use in the inputs
|
void |
setCancelButtonStyle(EPBotButtonStyle p)
The cancel button style to use in the inputs
|
void |
setCancelButtonTextColor(int p)
The cancel button text color to use in the inputs
|
void |
setCheckIcon(android.graphics.drawable.Drawable p)
Input check icon used in the Boolean input button.
|
void |
setCloseIcon(android.graphics.drawable.Drawable p)
Input close icon used in the Boolean/Picture input button.
|
void |
setEndButtonColor(int p)
The end button color to use at the end of a bot
|
void |
setEndButtonTextColor(int p)
The end button text color to use at the end of a bot
|
void |
setGrpdIcon(android.graphics.drawable.Drawable p)
Input grpd icon used in the Alert Dialog.
|
void |
setHeaderTextAppearance(int p)
The TextAppearance of the text used to display the time
|
void |
setIncomingBottomBubble(EPBubbleAppearance p)
The appearance to use for an incoming message bottom bubble.
|
void |
setIncomingMiddleBubble(EPBubbleAppearance p)
The appearance to use for an incoming message middle bubble.
|
void |
setIncomingSingleBubble(EPBubbleAppearance p)
The appearance to use for an incoming message single bubble.
|
void |
setIncomingTopBubble(EPBubbleAppearance p)
The appearance to use for an incoming message top bubble.
|
void |
setInputBackgroundColor(int p)
The color of the bottom sheet used to display the inputs
|
void |
setOutgoingBottomBubble(EPBubbleAppearance p)
The appearance to use for an outgoing message bottom bubble.
|
void |
setOutgoingMiddleBubble(EPBubbleAppearance p)
The appearance to use for an outgoing message middle bubble.
|
void |
setOutgoingSingleBubble(EPBubbleAppearance p)
The appearance to use for an outgoing message single bubble.
|
void |
setOutgoingTopBubble(EPBubbleAppearance p)
The appearance to use for an outgoing message top bubble.
|
void |
setPictureIcon(android.graphics.drawable.Drawable p)
Input picture icon used in the Picture input button.
|
void |
setSearchIcon(android.graphics.drawable.Drawable p)
Input search icon.
|
void |
setSendButtonIcon(android.graphics.drawable.Drawable p)
Input send icon (Date or Number input).
|
void |
setSendPromptIcon(android.graphics.drawable.Drawable p)
Input send icon (Tags or Text input).
|
void |
setTagColor(int p)
The tag color to use in the Tags input
|
void |
setTagTextColor(int p)
The tag text color to use in the Tags input
|
void |
setTypingAnimation(java.lang.String p)
The typing animation to use in the bubble
|
void |
setTypingAnimationCacheKey(java.lang.String p)
The cache key of the typing animation to cache it
|
void |
setTypingAnimationPaddingBottom(int p)
The padding bottom of the typing animation
|
void |
setTypingAnimationPaddingEnd(int p)
The padding end of the typing animation
|
void |
setTypingAnimationPaddingStart(int p)
The padding start of the typing animation
|
void |
setTypingAnimationPaddingTop(int p)
The padding top of the typing animation
|
void |
setTypingAnimationScale(float p)
The scale of the typing animation
|
public EPBubbleAppearance incomingTopBubble
The appearance to use for an incoming message top bubble.
public EPBubbleAppearance incomingMiddleBubble
The appearance to use for an incoming message middle bubble.
public EPBubbleAppearance incomingBottomBubble
The appearance to use for an incoming message bottom bubble.
public EPBubbleAppearance incomingSingleBubble
The appearance to use for an incoming message single bubble.
public EPBubbleAppearance outgoingTopBubble
The appearance to use for an outgoing message top bubble.
public EPBubbleAppearance outgoingMiddleBubble
The appearance to use for an outgoing message middle bubble.
public EPBubbleAppearance outgoingBottomBubble
The appearance to use for an outgoing message bottom bubble.
public EPBubbleAppearance outgoingSingleBubble
The appearance to use for an outgoing message single bubble.
public android.graphics.drawable.Drawable searchIcon
Input search icon.
public android.graphics.drawable.Drawable sendButtonIcon
Input send icon (Date or Number input).
public android.graphics.drawable.Drawable sendPromptIcon
Input send icon (Tags or Text input).
public android.graphics.drawable.Drawable grpdIcon
Input grpd icon used in the Alert Dialog.
public android.graphics.drawable.Drawable checkIcon
Input check icon used in the Boolean input button.
public android.graphics.drawable.Drawable closeIcon
Input close icon used in the Boolean/Picture input button.
public android.graphics.drawable.Drawable pictureIcon
Input picture icon used in the Picture input button.
public EPSize avatarSize
The Avatar size.
public EPBotButtonStyle cancelButtonStyle
The cancel button style to use in the inputs
public java.lang.String typingAnimation
The typing animation to use in the bubble
public EPBotAppearance()
Object representing the appearance of a chat conversation.
public EPBubbleAppearance getIncomingTopBubble()
The appearance to use for an incoming message top bubble.
public void setIncomingTopBubble(EPBubbleAppearance p)
The appearance to use for an incoming message top bubble.
public EPBubbleAppearance getIncomingMiddleBubble()
The appearance to use for an incoming message middle bubble.
public void setIncomingMiddleBubble(EPBubbleAppearance p)
The appearance to use for an incoming message middle bubble.
public EPBubbleAppearance getIncomingBottomBubble()
The appearance to use for an incoming message bottom bubble.
public void setIncomingBottomBubble(EPBubbleAppearance p)
The appearance to use for an incoming message bottom bubble.
public EPBubbleAppearance getIncomingSingleBubble()
The appearance to use for an incoming message single bubble.
public void setIncomingSingleBubble(EPBubbleAppearance p)
The appearance to use for an incoming message single bubble.
public EPBubbleAppearance getOutgoingTopBubble()
The appearance to use for an outgoing message top bubble.
public void setOutgoingTopBubble(EPBubbleAppearance p)
The appearance to use for an outgoing message top bubble.
public EPBubbleAppearance getOutgoingMiddleBubble()
The appearance to use for an outgoing message middle bubble.
public void setOutgoingMiddleBubble(EPBubbleAppearance p)
The appearance to use for an outgoing message middle bubble.
public EPBubbleAppearance getOutgoingBottomBubble()
The appearance to use for an outgoing message bottom bubble.
public void setOutgoingBottomBubble(EPBubbleAppearance p)
The appearance to use for an outgoing message bottom bubble.
public EPBubbleAppearance getOutgoingSingleBubble()
The appearance to use for an outgoing message single bubble.
public void setOutgoingSingleBubble(EPBubbleAppearance p)
The appearance to use for an outgoing message single bubble.
public android.graphics.drawable.Drawable getSearchIcon()
Input search icon.
public void setSearchIcon(android.graphics.drawable.Drawable p)
Input search icon.
public android.graphics.drawable.Drawable getSendButtonIcon()
Input send icon (Date or Number input).
public void setSendButtonIcon(android.graphics.drawable.Drawable p)
Input send icon (Date or Number input).
public android.graphics.drawable.Drawable getSendPromptIcon()
Input send icon (Tags or Text input).
public void setSendPromptIcon(android.graphics.drawable.Drawable p)
Input send icon (Tags or Text input).
public android.graphics.drawable.Drawable getGrpdIcon()
Input grpd icon used in the Alert Dialog.
public void setGrpdIcon(android.graphics.drawable.Drawable p)
Input grpd icon used in the Alert Dialog.
public android.graphics.drawable.Drawable getCheckIcon()
Input check icon used in the Boolean input button.
public void setCheckIcon(android.graphics.drawable.Drawable p)
Input check icon used in the Boolean input button.
public android.graphics.drawable.Drawable getCloseIcon()
Input close icon used in the Boolean/Picture input button.
public void setCloseIcon(android.graphics.drawable.Drawable p)
Input close icon used in the Boolean/Picture input button.
public android.graphics.drawable.Drawable getPictureIcon()
Input picture icon used in the Picture input button.
public void setPictureIcon(android.graphics.drawable.Drawable p)
Input picture icon used in the Picture input button.
public EPSize getAvatarSize()
The Avatar size.
public void setAvatarSize(EPSize p)
The Avatar size.
public int getAvatarTopMargin()
The Avatar top margin, used to create a gap between the avatar and the bubble
public void setAvatarTopMargin(int p)
The Avatar top margin, used to create a gap between the avatar and the bubble
public boolean isAvatarRounded()
Set to true to round the Avatar
public void setAvatarRounded(boolean p)
Set to true to round the Avatar
public int getButtonTextColor()
The button text color to use in the inputs
public void setButtonTextColor(int p)
The button text color to use in the inputs
public int getButtonSearchTextColor()
The button search text color to use in the Choice input
public void setButtonSearchTextColor(int p)
The button search text color to use in the Choice input
public EPBotButtonStyle getCancelButtonStyle()
The cancel button style to use in the inputs
public void setCancelButtonStyle(EPBotButtonStyle p)
The cancel button style to use in the inputs
public int getCancelButtonColor()
The cancel button color to use in the inputs
public void setCancelButtonColor(int p)
The cancel button color to use in the inputs
public int getCancelButtonTextColor()
The cancel button text color to use in the inputs
public void setCancelButtonTextColor(int p)
The cancel button text color to use in the inputs
public int getEndButtonColor()
The end button color to use at the end of a bot
public void setEndButtonColor(int p)
The end button color to use at the end of a bot
public int getEndButtonTextColor()
The end button text color to use at the end of a bot
public void setEndButtonTextColor(int p)
The end button text color to use at the end of a bot
public int getTagColor()
The tag color to use in the Tags input
public void setTagColor(int p)
The tag color to use in the Tags input
public int getTagTextColor()
The tag text color to use in the Tags input
public void setTagTextColor(int p)
The tag text color to use in the Tags input
public java.lang.String getTypingAnimation()
The typing animation to use in the bubble
public void setTypingAnimation(java.lang.String p)
The typing animation to use in the bubble
public float getTypingAnimationScale()
The scale of the typing animation
public void setTypingAnimationScale(float p)
The scale of the typing animation
public int getTypingAnimationPaddingStart()
The padding start of the typing animation
public void setTypingAnimationPaddingStart(int p)
The padding start of the typing animation
public int getTypingAnimationPaddingEnd()
The padding end of the typing animation
public void setTypingAnimationPaddingEnd(int p)
The padding end of the typing animation
public int getTypingAnimationPaddingTop()
The padding top of the typing animation
public void setTypingAnimationPaddingTop(int p)
The padding top of the typing animation
public int getTypingAnimationPaddingBottom()
The padding bottom of the typing animation
public void setTypingAnimationPaddingBottom(int p)
The padding bottom of the typing animation
public java.lang.String getTypingAnimationCacheKey()
The cache key of the typing animation to cache it
public void setTypingAnimationCacheKey(java.lang.String p)
The cache key of the typing animation to cache it
public int getBackgroundColor()
The background color of the fragment
public void setBackgroundColor(int p)
The background color of the fragment
public android.graphics.drawable.Drawable getBackgroundDrawable()
The background drawable of the fragment
public void setBackgroundDrawable(android.graphics.drawable.Drawable p)
The background drawable of the fragment
public int getInputBackgroundColor()
The color of the bottom sheet used to display the inputs
public void setInputBackgroundColor(int p)
The color of the bottom sheet used to display the inputs
public int getHeaderTextAppearance()
The TextAppearance of the text used to display the time
public void setHeaderTextAppearance(int p)
The TextAppearance of the text used to display the time