Class MessagingSettings
-
- All Implemented Interfaces:
public final class MessagingSettingsA model that represents the configurations for this instance of Messaging for Android.
This model is responsible for:
Holding data fetched from remote settings endpoint.
Holding data provided internally.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringintegrationIdprivate final Booleanenabledprivate final Stringbrandprivate final Stringtitleprivate final Stringdescriptionprivate final StringlogoUrlprivate final ColorThemelightThemeprivate final ColorThemedarkThemeprivate final BooleancanUserCreateMoreConversationsprivate final BooleanisMultiConversationsEnabledprivate final BooleanhipaaAttachmentFlagprivate final Stringidentifierprivate final BooleancanUserSeeConversationListprivate final BooleanshouldTrackInternalAnalyticEventsprivate final BooleanisMultiAttachmentsEnabledprivate final BooleanisEndSessionEnabledprivate final BooleanisReopenConversationDisabledprivate final BooleanisConversationTranscriptEnabled
-
Constructor Summary
Constructors Constructor Description MessagingSettings(String integrationId, Boolean enabled, String brand, String title, String description, String logoUrl, ColorTheme lightTheme, ColorTheme darkTheme, Boolean canUserCreateMoreConversations, Boolean isMultiConversationsEnabled, Boolean hipaaAttachmentFlag, String identifier, Boolean canUserSeeConversationList, Boolean shouldTrackInternalAnalyticEvents, Boolean isMultiAttachmentsEnabled, Boolean isEndSessionEnabled, Boolean isReopenConversationDisabled, Boolean isConversationTranscriptEnabled)
-
Method Summary
Modifier and Type Method Description final StringgetIntegrationId()the Sunshine Conversations integration ID final BooleangetEnabled()if this integration is enabled final StringgetBrand()the name of the brand to be displayed final StringgetTitle()the title of the brand to be displayed final StringgetDescription()the description of the brand to be displayed final StringgetLogoUrl()the logo URL of the brand to be displayed final ColorThemegetLightTheme()a ColorTheme with the colors to be used with light mode final ColorThemegetDarkTheme()a ColorTheme with the colors to be used with dark mode final BooleangetCanUserCreateMoreConversations()a flag to enable users to create conversations final BooleanisMultiConversationsEnabled()a flag to enable the multi conversations experience final BooleangetHipaaAttachmentFlag()a flag to enable attachments based on hipaa regulations final StringgetIdentifier()the identifier of the channel final BooleangetCanUserSeeConversationList()indicates if the conversation list screen should be displayed. final BooleangetShouldTrackInternalAnalyticEvents()indicates if the internal analytics should be tracked final BooleanisMultiAttachmentsEnabled()a flag to enable multi attachments uploads final BooleanisEndSessionEnabled()a flag to enable end session for end conversations feature final BooleanisReopenConversationDisabled()a flag to enable reopen conversation for end conversations feature final BooleanisConversationTranscriptEnabled()a flag to enable conversation transcript feature -
-
Constructor Detail
-
MessagingSettings
MessagingSettings(String integrationId, Boolean enabled, String brand, String title, String description, String logoUrl, ColorTheme lightTheme, ColorTheme darkTheme, Boolean canUserCreateMoreConversations, Boolean isMultiConversationsEnabled, Boolean hipaaAttachmentFlag, String identifier, Boolean canUserSeeConversationList, Boolean shouldTrackInternalAnalyticEvents, Boolean isMultiAttachmentsEnabled, Boolean isEndSessionEnabled, Boolean isReopenConversationDisabled, Boolean isConversationTranscriptEnabled)
-
-
Method Detail
-
getIntegrationId
final String getIntegrationId()
the Sunshine Conversations integration ID
-
getEnabled
final Boolean getEnabled()
if this integration is enabled
-
getDescription
final String getDescription()
the description of the brand to be displayed
-
getLogoUrl
final String getLogoUrl()
the logo URL of the brand to be displayed
-
getLightTheme
final ColorTheme getLightTheme()
a ColorTheme with the colors to be used with light mode
-
getDarkTheme
final ColorTheme getDarkTheme()
a ColorTheme with the colors to be used with dark mode
-
getCanUserCreateMoreConversations
final Boolean getCanUserCreateMoreConversations()
a flag to enable users to create conversations
-
isMultiConversationsEnabled
final Boolean isMultiConversationsEnabled()
a flag to enable the multi conversations experience
-
getHipaaAttachmentFlag
final Boolean getHipaaAttachmentFlag()
a flag to enable attachments based on hipaa regulations
-
getIdentifier
final String getIdentifier()
the identifier of the channel
-
getCanUserSeeConversationList
final Boolean getCanUserSeeConversationList()
indicates if the conversation list screen should be displayed.
-
getShouldTrackInternalAnalyticEvents
final Boolean getShouldTrackInternalAnalyticEvents()
indicates if the internal analytics should be tracked
-
isMultiAttachmentsEnabled
final Boolean isMultiAttachmentsEnabled()
a flag to enable multi attachments uploads
-
isEndSessionEnabled
final Boolean isEndSessionEnabled()
a flag to enable end session for end conversations feature
-
isReopenConversationDisabled
final Boolean isReopenConversationDisabled()
a flag to enable reopen conversation for end conversations feature
-
isConversationTranscriptEnabled
final Boolean isConversationTranscriptEnabled()
a flag to enable conversation transcript feature
-
-
-
-