AvayaMessagingUiSDK

Properties

Link copied to clipboard

Set this flag to true if you want to support audio recording

Link copied to clipboard

Set this flag to true if you want to automatically download Images

Link copied to clipboard

Set this flag to true if you want to automatically download Media Files

Link copied to clipboard

Set this flag to true if you want to compress the image before sending

Link copied to clipboard

Set this flag to true if you want to support file sharing

Link copied to clipboard

Set this flag to true if you want to support image capture through camera

Link copied to clipboard

Set this flag to true if you want to support location sharing

Link copied to clipboard

Directory path where you want to save downloaded media files or will be saved in Downloads folder

Link copied to clipboard

Set this flag to true if you want to show the active participants list in the messaging window

Link copied to clipboard

Set this flag to true if you want to show the agent joined and left events in the messaging window

Link copied to clipboard

Set this flag to true if you want to show the agent name in the messaging window

Link copied to clipboard

Set this flag to true if you want to show the automation events in the messaging window

Link copied to clipboard

Set this flag to true if you want to show the idle timeout dialog in the messaging window when there is no activity from customer

Link copied to clipboard

Controls the avatar of the participant is shown in the typing indicator.

Link copied to clipboard

Controls the display name of the participant is shown in the typing indicator.

Link copied to clipboard

Controls the visibility of the typing indicator in the messaging window.

Link copied to clipboard

Set this flag to true if you want to use business as participant in the messaging window

Link copied to clipboard

Set this flag to true if you want to support video capture through camera

Functions

Link copied to clipboard
fun getConversationHandler(conversation: Conversation, context: Context? = null): ConversationHandler

get the conversation handler for the given conversation which should be passed while calling UI function

Link copied to clipboard
fun init()

starts observing idle timeout and events stream state / server connection state

Link copied to clipboard

this function checks if the static strings for given locale is supported by default. Non static strings like date separator supports all locales by default.

Link copied to clipboard
fun setInternetState(connected: Boolean)

If you are observing the internet connection state, set internet connection state and it will be reflected in the messaging window

Link copied to clipboard
fun setLanguage(locale: Locale, customStrings: CustomStrings? = null)

set the language to the messaging window

Link copied to clipboard

set the customized theme to the messaging window

Link copied to clipboard

Register a handler to provide location details and address

Link copied to clipboard

set dark theme to messaging window

Link copied to clipboard

set light theme to messaging window

Link copied to clipboard

this returns the set of supported locales