Interfaces

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:

Parameter

Type

Description

e

ICException

Exception 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)

Parameter

Type

Description

messageData

ICMessageData

selected message data

button

ICButton

selected button