We are working on a new SDK in Kotlin, with compatibility with JAVA (in the future).
- This SDK is used for handling background communication with server.
- Contains set of remote procedure calls (RPC) to communicate with server and return appropriate results.
- It doesn't have any user interface. All API's defined in SDK are asynchronous/non-blocking.
This SDK is divided into two parts
- Core SDK
- LiveChat SDK
MIT
For java
1. Core SDK
dependencies {
compile 'com.rocketchat.core:rocketchat-core:0.7.1'
}
2. LiveChat SDK
dependencies {
compile 'com.rocketchat.livechat:rocketchat-livechat:0.7.1'
}
For android
1. Core SDK
dependencies {
compile ('com.rocketchat.core:rocketchat-core:0.7.1'){
exclude group :'org.json', module: 'json'
}
}
2. LiveChat SDK
dependencies {
compile ('com.rocketchat.livechat:rocketchat-livechat:0.7.1'){
exclude group :'org.json', module: 'json'
}
}
- This SDK consist of chat related API's available on the Rocket.Chat server.
- Currently supports following features.
- Login/Resume Login
- Getting Permissions/Getting public settings
- Getting User Roles
- Getting rooms
- Getting chat history
- Send message to the room
- Delete message
- Update message
- Pin message
- Unpin message
- Star message
- Create public group
- Create private group
- Delete group
- Archive room
- Unarchive room
- Join public group
- Leave group
- Open room
- Hide room
- Set favourite room
- Set status (ONLINE, OFFLINE, BUSY, AWAY)
- Getting room roles
- Upload files
- Getting status of other users in realtime (Register for user status by userId)
- Logout
- User documentation can be found here => Core SDK
- This SDK refers to providing helpDesk feature (LiveChat )in any JVM platform.
- This currently supports following features.
- Getting LiveChat configuration data from server
- Registration
- Login
- Choose departments
- Getting Chat history
- Getting Agent data
- Send message
- Subscribe room
- Close conversation
- User documentation can be found here => LiveChat SDK
All docs are available under docs/ directory on the repo.
- Android app based on Java SDK can be found here => Demo Android App based on SDK