Zoho Assist UI Kit

 

1. To design the page layout



override fun getContentView(): Int {    return R.layout.activity_main  
}

2. To set the app icon


 override fun getLauncherIcon(): Int {return R.mipmap.ic_launcher
}

3. To design the dialog box to be displayed when the session ends


  override fun onSessionClosed(){}

4. To design the dialog box to be displayed when you start the session.


 override fun onSessionStarted(){}

5. To design the dialog box to be displayed when the technician joins the session


 override fun onConnectionUp(viewersCount: Int){}

6. To design the dialog box to be displayed when any technician leaves the session


override fun onConnectionDown(){}

7. To design the dialog box to display a message


//param - msg
override fun showToast(msg: String){}

8. To design the dialog box to be displayed when swap screen request is accepted or rejected.


//param - isAccepted
override fun onSwitchRoles(isAccepted: Boolean){}

9. To design the dialog box to be displayed when screen sharing is stopped or started during the session.


//To perform any operation when customer toggles the screen sharing status
//param - isSharing
override fun onStartStopShare(isSharing: Boolean){}

10. To design the dialog box to be displayed when a new chat message is received.


//param - chatModel
override fun ReceivedMessage(chatModel: ChatModel){}