Interfaces (Discontinued)

🚧

Note

Please note that we have announced end of sale for Android UI SDK. It is no longer offered as a standard Webex Connect capability.

com.imimobile.connect.ui.interfaces

The below classes support conversation interface. This package contains the following interfaces:

ICUIStartupCallback

This interface represents call back methods to notify when SDK startup is completed.

onStartupComplete

This method is used to invoke when the SDK startup is completed.

  Syntax: void onStartupComplete(ICException e)

  Parameters:

ParameterTypeDescription
eICExceptionException thrown for startup is not successful

ICDataSetObserver

This interface represents call back methods to notify the data set is changed.

onDataSetChanged

This method is invoked to notify that the data set has changed.

  Syntax: void onDataSetChanged()

ICMessageGroup

getTitle

This method is used to get a message group title.

  Syntax: String getTitle()

  Return Value: Returns message Group title.

ICMessagePart

This interface represents a part of the message that the developer wants to display in a part view.

getContentType

This method is used to get the context type for the message part.

  Syntax: `getContentType()

  Return Value: returns context type for message part

ICButtonClickListener

This interface used to listen the button click events

onButtonClick

This method invoked on the button clicked

Syntax:  void onButtonClick(ICMessageData messageData, ICButton button)

ParameterTypeDescription
messageDataICMessageDataselected message data
buttonICButtonselected button

ICMessageComposerAttachmentCallback

This interface used to listen the message composer attachment events

onNewAttachment

Syntax : ICMessageComposerAttachment onNewAttachment(int position, ICMessageComposerAttachment attachment)

This method invoked when new attachment added from message composer view

Parameters :

ParameterDescription
Positionattachment position
attachmentmessage composer attachment

onAttachmentClick

Syntax : boolean onAttachmentClick(int position, ICMessageComposerAttachment attachment)

This method invoked when attachment clicked in the message composer view

Parameters :

ParameterDescription
Positionattachment position
attachmentmessage composer attachment

onAttachmentDeleteButtonClick

Syntax : boolean onAttachmentDeleteButtonClick(int position, ICMessageComposerAttachment attachment)

This method invoked when attachment delete button clicked

Parameters :

ParameterDescription
Positionattachment position
attachmentmessage composer attachment