Skip to content

Latest commit

 

History

History
 
 

chat_api_sample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

⚠️ Use of this software is subject to important terms and conditions as set forth in the License file ⚠️

Chat SDK API demo

Chat SDK API demo is a Sndroid project that shows how easy it is to create your own chat UI that is backed by Zendesk Chat API. This demo uses Chat SDK Version 1.3.0.1. You can reference Chat API as a Gradle dependency:

compile group: 'com.zopim.android', name: 'sdk-api', version: '1.3.0.1'

Image

Documentation

Notable files

  • ChatModel.java This class contains all the function calls to ZendeskChatApi.
  • ChatLogModel.java This file is responsible for filterring events, determining if events are new and updates and converts them to UI chat events.
  • ChatLogView.java This class is a RecyclerView.Adapter and provides the data required for the UI.
  • AgentMessageWrapper, VisitorMessage, AgentAttachmentWrapper, VisitorAttachmentWrapper Theses files represent the different type of chat messages the demo deals with.