- CallLimiter - Class in com.comapi.chat.internal
-
Controls number of calls allowed in a set timescale.
- CallLimiter(int, int, TimeUnit, int, int, TimeUnit, long) - Constructor for class com.comapi.chat.internal.CallLimiter
-
Recommended constructor.
- ChatConfig - Class in com.comapi.chat
-
Comapi Chat configuration and setup.
- ChatConfig() - Constructor for class com.comapi.chat.ChatConfig
-
- ChatConversation - Class in com.comapi.chat.model
-
Conversation details.
- ChatConversation() - Constructor for class com.comapi.chat.model.ChatConversation
-
- ChatConversation.Builder - Class in com.comapi.chat.model
-
- ChatConversationBase - Class in com.comapi.chat.model
-
Conversation details model for db storage.
- ChatConversationBase() - Constructor for class com.comapi.chat.model.ChatConversationBase
-
- ChatConversationBase.Builder - Class in com.comapi.chat.model
-
- ChatMessage - Class in com.comapi.chat.model
-
Message model for db storage.
- ChatMessage() - Constructor for class com.comapi.chat.model.ChatMessage
-
- ChatMessage.Builder - Class in com.comapi.chat.model
-
- ChatMessageStatus - Class in com.comapi.chat.model
-
Message status model for db storage.
- ChatMessageStatus.Builder - Class in com.comapi.chat.model
-
- ChatParticipant - Class in com.comapi.chat.model
-
Conversation participant model for db storage.
- ChatParticipant() - Constructor for class com.comapi.chat.model.ChatParticipant
-
- ChatParticipant.Builder - Class in com.comapi.chat.model
-
- ChatResult - Class in com.comapi.chat
-
Chat SDK result.
- ChatResult(boolean, ChatResult.Error) - Constructor for class com.comapi.chat.ChatResult
-
- ChatResult.Error - Class in com.comapi.chat
-
Error details.
- ChatRole - Enum in com.comapi.chat.model
-
Public or Participant scope of the Conversation.
- ChatServiceAccessor - Class in com.comapi.chat
-
Separates access to subsets of service APIs.
- ChatServiceAccessor.MessagingService - Class in com.comapi.chat
-
- ChatServiceAccessor.ProfileService - Class in com.comapi.chat
-
- ChatServiceAccessor.SessionService - Class in com.comapi.chat
-
- ChatStore - Class in com.comapi.chat.model
-
Top level interface for db storage.
- ChatStore() - Constructor for class com.comapi.chat.model.ChatStore
-
- checkAndIncrease() - Method in class com.comapi.chat.internal.CallLimiter
-
Check if next call is allowed and increase the counts.
- checkEventId(String, long, MissingEventsTracker.MissingEventsListener) - Method in class com.comapi.chat.internal.MissingEventsTracker
-
Check conversation event id for duplicates or missing events.
- clearDatabase() - Method in class com.comapi.chat.model.ChatStore
-
Delete all content of persistence store that is related to current user.
- closeDatabase() - Method in class com.comapi.chat.database.Database
-
Close the database.
- com.comapi.chat - package com.comapi.chat
-
- com.comapi.chat.database - package com.comapi.chat.database
-
- com.comapi.chat.database.model - package com.comapi.chat.database.model
-
- com.comapi.chat.internal - package com.comapi.chat.internal
-
- com.comapi.chat.listeners - package com.comapi.chat.listeners
-
- com.comapi.chat.model - package com.comapi.chat.model
-
- ComapiChat - Class in com.comapi.chat
-
- ComapiChatClient - Class in com.comapi.chat
-
Client implementation for chat layer SDK.
- compareTo(ChatMessage) - Method in class com.comapi.chat.model.ChatMessage
-
- compareTo(ChatMessageStatus) - Method in class com.comapi.chat.model.ChatMessageStatus
-
- conversationId - Variable in class com.comapi.chat.model.ChatConversationBase
-
Unique id of the Conversation.
- copyLogs(File) - Method in class com.comapi.chat.ComapiChatClient
-
Gets the content of internal log files merged into provided file.
- create(File, String, String, String) - Static method in class com.comapi.chat.model.Attachment
-
Create data object to send from a file.
- create(byte[], String, String, String) - Static method in class com.comapi.chat.model.Attachment
-
Create data object to send from a file.
- create(String, String, String, String) - Static method in class com.comapi.chat.model.Attachment
-
Create data object to send from a file.
- createConversation(ConversationCreate, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
-
Create a conversation.
- createConversation(ConversationCreate) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
-
Returns observable to create a conversation.
- created(T) - Method in interface com.comapi.chat.StoreCallback
-
External Store instance has been created.
- createFinalMessage(MessageSentResponse) - Method in class com.comapi.chat.internal.MessageProcessor
-
Create a final message for a conversation.
- createMessageProcessor(MessageToSend, List<Attachment>, String, String) - Method in class com.comapi.chat.internal.AttachmentController
-
Create instance of message processor to handle sending process of a message with attachments.
- createTempMessage() - Method in class com.comapi.chat.internal.MessageProcessor
-
Create a temporary message to be displayed while the message is being send.
- getAdaptingEventsHandler() - Method in class com.comapi.chat.FoundationFactory
-
Returns event handler adapting Foundation listeners for Chat SDK.
- getAllConversations() - Method in class com.comapi.chat.model.ChatStore
-
Get all conversations from persistence store.
- getAttachments() - Method in class com.comapi.chat.internal.MessageProcessor
-
Gets list of attachments to be sent with a message.
- getClientInstance(Application, ChatConfig) - Method in class com.comapi.chat.FoundationFactory
-
Initialise and obtain Foundation SDK client.
- getCode() - Method in class com.comapi.chat.ChatResult.Error
-
Error code.
- getConversation(String) - Method in class com.comapi.chat.model.ChatStore
-
Get conversation from persistence store.
- getConversationEventId() - Method in class com.comapi.chat.model.ChatMessageStatus
-
- getConversationId() - Method in class com.comapi.chat.internal.MessageProcessor
-
Conversation id to which the message belongs.
- getConversationId() - Method in class com.comapi.chat.model.ChatConversationBase
-
Get Unique id of the Conversation.
- getConversationId() - Method in class com.comapi.chat.model.ChatMessage
-
Globally unique identifier of a message.
- getConversationId() - Method in class com.comapi.chat.model.ChatMessageStatus
-
- getData() - Method in class com.comapi.chat.model.Attachment
-
Get content data to upload.
- getDescription() - Method in class com.comapi.chat.model.ChatConversation
-
Get description of the Conversation.
- getDetails() - Method in class com.comapi.chat.ChatResult.Error
-
- getError() - Method in class com.comapi.chat.ChatResult
-
Gets error details if operation unsuccessful.
- getError() - Method in class com.comapi.chat.model.Attachment
-
Get upload content exception.
- getETag() - Method in class com.comapi.chat.model.ChatConversationBase
-
Gets ETag for server to check if local version of the data is the same as the one the server side.
- getFirstLocalEventId() - Method in class com.comapi.chat.model.ChatConversationBase
-
Gets oldest conversation event id known by the app.
- getFolder() - Method in class com.comapi.chat.model.Attachment
-
Get folder to which the attachment was uploaded.
- getFromWhom() - Method in class com.comapi.chat.model.ChatMessage
-
Who is the official sender of the message.
- getId() - Method in class com.comapi.chat.model.Attachment
-
Get attachment id.
- getInstance(Application, boolean, Logger) - Static method in class com.comapi.chat.database.Database
-
Creates database controller and new database instance if wasn't created yet or parameter reset was set to true.
- getLastLocalEventId() - Method in class com.comapi.chat.model.ChatConversationBase
-
Gets latest conversation event id known by the app.
- getLastRemoteEventId() - Method in class com.comapi.chat.model.ChatConversationBase
-
Gets latest conversation event id.
- getLogs() - Method in class com.comapi.chat.ComapiChatClient
-
Returns the content of internal log files in a single String.
- getMessage() - Method in class com.comapi.chat.ChatResult.Error
-
Error message.
- getMessage() - Method in class com.comapi.chat.internal.MessageProcessor
-
Get message.
- getMessageId() - Method in class com.comapi.chat.model.ChatMessage
-
Globally unique identifier of a message.
- getMessageId() - Method in class com.comapi.chat.model.ChatMessageStatus
-
- getMessageStatus() - Method in class com.comapi.chat.model.ChatMessageStatus
-
Message status as defined in MessageStatus
- getMetadata() - Method in class com.comapi.chat.model.ChatMessage
-
Metadata associated with the message e.g.
- getName() - Method in class com.comapi.chat.model.Attachment
-
Get assigned file name.
- getName() - Method in class com.comapi.chat.model.ChatConversation
-
Get name of the Conversation.
- getOwnerPrivileges() - Method in class com.comapi.chat.model.ChatConversation
-
Gets owner privileges in associated conversation.
- getParticipantId() - Method in class com.comapi.chat.model.ChatParticipant
-
Globally unique profile identifier.
- getParticipantPrivileges() - Method in class com.comapi.chat.model.ChatConversation
-
Gets participant privileges in associated conversation.
- getParticipants(String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
-
Gets conversation participants.
- getParticipants(String) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
-
Gets conversation participants.
- getParts() - Method in class com.comapi.chat.model.ChatMessage
-
Parts of the message with data, type, name and size.
- getPreviousMessages(String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
-
Queries the next message page in conversation and delivers messages to store implementation.
- getPreviousMessages(String) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
-
Queries the next message page in conversation and delivers messages to store implementation.
- getProfile(String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileService
-
Gets profile data.
- getProfile(String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileService
-
Gets profile data.
- getProfileId() - Method in class com.comapi.chat.model.ChatMessageStatus
-
- getRole() - Method in class com.comapi.chat.model.ChatParticipant
-
Get participant role in associated conversation.
- getSender() - Method in class com.comapi.chat.internal.MessageProcessor
-
Profile id of the current user to be set as a sender.
- getSentBy() - Method in class com.comapi.chat.model.ChatMessage
-
Who actually sent the message.
- getSentEventId() - Method in class com.comapi.chat.model.ChatMessage
-
Gets Unique monotonically increasing identifier of message in the conversation.
- getSentOn() - Method in class com.comapi.chat.model.ChatMessage
-
UTC time in milliseconds when the message was sent.
- getSession() - Method in class com.comapi.chat.ComapiChatClient
-
Gets the active session data.
- getShared() - Static method in class com.comapi.chat.ComapiChat
-
- getSize() - Method in class com.comapi.chat.model.Attachment
-
Get uploaded content size.
- getState() - Method in class com.comapi.chat.ComapiChatClient
-
Gets the internal state of the SDK.
- getStatusUpdates() - Method in class com.comapi.chat.model.ChatMessage
-
Message statuses 'delivered' or 'read' for particular participants.
- getString(Cursor, String) - Static method in class com.comapi.chat.database.DbCursorHelper
-
Gets string from db cursor.
- getTempId() - Method in class com.comapi.chat.internal.MessageProcessor
-
Message id of an temporary message.
- getThis() - Method in class com.comapi.chat.ChatConfig
-
- getType() - Method in class com.comapi.chat.model.Attachment
-
Get attachment mime type.
- getUpdatedOn() - Method in class com.comapi.chat.model.ChatConversationBase
-
Gets date on which the conversation was updated for the last time.
- getUpdatedOn() - Method in class com.comapi.chat.model.ChatMessageStatus
-
Time when the status was set for the message.
- getUrl() - Method in class com.comapi.chat.model.Attachment
-
Get url under which the content is available.
- getValue() - Method in enum com.comapi.chat.model.ChatRole
-
- getValue() - Method in enum com.comapi.chat.model.LocalMessageStatus
-
- save(List<OrphanedEvent>) - Method in class com.comapi.chat.database.Database
-
Save orphaned events (events returned in message query related to some message that was send later then messages obtained from the query.
- sendMessage(String, MessageToSend, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
-
Send message to the conversation.
- sendMessage(String, String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
-
Send message to the chanel.
- sendMessage(String, MessageToSend, List<Attachment>, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
-
Send message to the conversation.
- sendMessage(String, String, List<Attachment>, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
-
Send message to the chanel.
- sendMessage(String, MessageToSend) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
-
Send message to the conversation.
- sendMessage(String, String) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
-
Send message to the chanel.
- sendMessage(String, MessageToSend, List<Attachment>) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
-
Send message to the conversation.
- sendMessage(String, String, List<Attachment>) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
-
Send message to the chanel.
- service() - Method in class com.comapi.chat.ComapiChatClient
-
Access to Comapi service APIs.
- session() - Method in class com.comapi.chat.ChatServiceAccessor
-
Access COMAPI Service session management APIs.
- session() - Method in class com.comapi.chat.RxChatServiceAccessor
-
Access COMAPI Service session management APIs.
- setConversationId(String) - Method in class com.comapi.chat.model.ChatConversation.Builder
-
- setConversationId(String) - Method in class com.comapi.chat.model.ChatConversationBase.Builder
-
- setConversationId(String) - Method in class com.comapi.chat.model.ChatMessage.Builder
-
- setError(Throwable) - Method in class com.comapi.chat.model.Attachment
-
For internal use.
- setETag(String) - Method in class com.comapi.chat.model.ChatConversation.Builder
-
- setETag(String) - Method in class com.comapi.chat.model.ChatConversationBase.Builder
-
Sets ETag for server to check if local version of the data is the same as the one the server side.
- setFirstLocalEventId(Long) - Method in class com.comapi.chat.model.ChatConversation.Builder
-
- setFirstLocalEventId(Long) - Method in class com.comapi.chat.model.ChatConversationBase.Builder
-
Sets oldest conversation event id known by the app.
- setFromWhom(Sender) - Method in class com.comapi.chat.model.ChatMessage.Builder
-
- setLastLocalEventId(Long) - Method in class com.comapi.chat.model.ChatConversation.Builder
-
- setLastLocalEventId(Long) - Method in class com.comapi.chat.model.ChatConversationBase.Builder
-
Sets latest conversation event id known by the app.
- setLastRemoteEventId(Long) - Method in class com.comapi.chat.model.ChatConversation.Builder
-
- setLastRemoteEventId(Long) - Method in class com.comapi.chat.model.ChatConversationBase.Builder
-
Sets latest conversation event id.
- setMessageId(String) - Method in class com.comapi.chat.model.ChatMessage.Builder
-
- setMetadata(Map<String, Object>) - Method in class com.comapi.chat.model.ChatMessage.Builder
-
- setParticipantId(String) - Method in class com.comapi.chat.model.ChatParticipant.Builder
-
- setParts(List<Part>) - Method in class com.comapi.chat.model.ChatMessage.Builder
-
- setRole(ChatRole) - Method in class com.comapi.chat.model.ChatParticipant.Builder
-
- setSentBy(String) - Method in class com.comapi.chat.model.ChatMessage.Builder
-
- setSentEventId(Long) - Method in class com.comapi.chat.model.ChatMessage.Builder
-
- setSentEventId(Long) - Method in class com.comapi.chat.model.ChatMessage
-
Internal setter to update sent event id.
- setSentOn(Long) - Method in class com.comapi.chat.model.ChatMessage.Builder
-
- setUpdatedOn(Long) - Method in class com.comapi.chat.model.ChatConversation.Builder
-
- setUpdatedOn(Long) - Method in class com.comapi.chat.model.ChatConversationBase.Builder
-
Sets date on which the conversation was updated for the last time.
- setUpdatedOn(Long) - Method in class com.comapi.chat.model.ChatConversationBase
-
- startSession(<any>) - Method in class com.comapi.chat.ChatServiceAccessor.SessionService
-
Create and start new ComapiImpl session.
- startSession() - Method in class com.comapi.chat.RxChatServiceAccessor.SessionService
-
Create and start new ComapiImpl session.
- store(StoreFactory<ChatStore>) - Method in class com.comapi.chat.ChatConfig
-
Sets builder for
ChatStore db interface that can handle single db transactions.
- StoreCallback<T> - Interface in com.comapi.chat
-
Callback interface for creating Store implementation instance.
- StoreFactory<T extends ChatStore> - Class in com.comapi.chat
-
Factory class for
ChatStore implementations that preferably can support transactions.
- StoreFactory() - Constructor for class com.comapi.chat.StoreFactory
-
- StoreTransaction<T extends ChatStore> - Class in com.comapi.chat
-
Single transaction on the provided implementation of database (depends on provided
StoreFactory implementation).
- StoreTransaction() - Constructor for class com.comapi.chat.StoreTransaction
-
- synchroniseConversation(String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
-
Check for missing messages and other events and update local store.
- synchroniseConversation(String) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
-
Check for missing messages and other events and update local store.
- synchroniseStore(<any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
-
Check for missing messages and other events and update local store.
- synchroniseStore() - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
-
Check for missing messages and other events and update local store.