Represents a Stringee client, manages the client's connection. This class provides methods to connect to/disconnect from Stringee server, manage Conversation, receives the connection's events, the incoming call event, Conversation and Message change event.
Create a new StringeeClient.
Override the default Stringee API base URL.
Override the StringeeX and live chat API base URL.
Connect through a custom ordered list of Stringee server endpoints.
It's the unique identifier of the client on Stringee system.
It's the unique identifier used to route native events to this client instance.
It's the custom Stringee API base URL passed to StringeeClientOptions.
It's the custom StringeeX and live chat API base URL passed to StringeeClientOptions.
It's the custom ordered list of Stringee server endpoints passed to StringeeClientOptions.
Whether the client connects to Stringee server:
Set, replace, or clear the listener for StringeeClient.
Unregister all native event subscriptions owned by this StringeeClient.
Connect to Stringee server using the provided access token.
Disconnect from Stringee server.
Register the registration deviceToken for push notifications to Stringee server. For iOS need 2 values for register push:
Register the registration deviceToken for push notifications to Stringee server, and remove the other registration deviceToken with packageNames. For iOS need 2 values for register push:
Remove the registration deviceToken for push notifications from Stringee server.
Send a custom message to a user.
Create a new conversation. If successful return a created Conversation.
Get the conversation by a conversation identifier. If successful return a Conversation.
Get all conversations were saved in local database. If successful return a list of Conversation.
Get lastest list of conversations from Stringee server. If successful return a list of Conversation.
Get lastest list of conversations including deleted conversations from Stringee server. If successful return a list of Conversation.
Get lastest list of unread conversations from Stringee server. If successful return a list of Conversation.
Get list of conversations which have updated time greater than datetime from Stringee server. If successful return a list of Conversation.
Get list of conversations which including deleted conversations have updated time greater than datetime from Stringee server. If successful return a list of Conversation.
Get list of unread conversations which have updated time greater than datetime from Stringee server. If successful return a list of Conversation.
Get list of conversations which have updated time smaller than datetime from Stringee server. If successful return a list of Conversation.
Get list of conversations including deleted conversations which have updated time smaller than datetime from Stringee server. If successful return a list of Conversation.
Get list of unread conversations which have updated time smaller than datetime from Stringee server. If successful return a list of Conversation.
Get the chat 1-1 conversation with other user by other user's identifier. If successful return a Conversation.
Get count of unread conversation. If successful return count of unread Conversation.
Clear local database.
Get user info. If successful return User.
Get chat profile. If successful return chatProfile including a list of queues.
Get live chat token for connecting to Stringee. If successful return token.
Update user info.
Create a new live chat Conversation. If successful return a created Conversation.
Create a live chat ticket by using LiveChatTicketParam.