Skip navigation links
A B C D E F G I L M O P Q R S T U V 

A

adapt(List<Participant>) - Method in class com.comapi.chat.model.ModelAdapter
Translates Foundation conversation participants to Chat SDK conversation participants.
adaptEvents(List<DbOrphanedEvent>) - Method in class com.comapi.chat.model.ModelAdapter
Translates Orphaned events to message statuses.
adaptMessages(List<MessageReceived>) - Method in class com.comapi.chat.model.ModelAdapter
Translates received messages through message query to chat SDK model.
adaptResult(<any>) - Method in class com.comapi.chat.model.ModelAdapter
Translates Foundation result to Chat SDK result.
adaptResult(<any>, Boolean) - Method in class com.comapi.chat.model.ModelAdapter
Translates Foundation result to Chat SDK result.
adaptStatuses(String, String, Map<String, MessageReceived.Status>) - Method in class com.comapi.chat.model.ModelAdapter
Translates received message statuses through message query to chat SDK model.
addListener(ParticipantsListener) - Method in class com.comapi.chat.ComapiChatClient
Registers listener for changes in participant list in conversations.
addListener(ProfileListener) - Method in class com.comapi.chat.ComapiChatClient
Registers listener for changes in profile details.
addListener(TypingListener) - Method in class com.comapi.chat.ComapiChatClient
Registers listener for user is typing/finished typing events.
addParticipants(String, List<Participant>, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
Add a list of participants to a conversation.
addParticipants(String, List<Participant>) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
Returns observable to add a list of participants to a conversation.
addStatusUpdate(ChatMessageStatus) - Method in class com.comapi.chat.model.ChatMessage
Update status list with a new status.
Attachment - Class in com.comapi.chat.model
Attachment to be send with a chat message.
AttachmentController - Class in com.comapi.chat.internal
Controller for the process of uploading content with a message.
AttachmentController(Logger, int) - Constructor for class com.comapi.chat.internal.AttachmentController
Recommended constructor.

B

baseBuilder() - Static method in class com.comapi.chat.model.ChatConversationBase
 
beginTransaction() - Method in class com.comapi.chat.model.ChatStore
Begin transaction.
build() - Method in class com.comapi.chat.database.model.DbOrphanedEvent.Builder
Build ContentValues for the db.
build() - Method in class com.comapi.chat.model.ChatConversation.Builder
 
build() - Method in class com.comapi.chat.model.ChatConversationBase.Builder
 
build() - Method in class com.comapi.chat.model.ChatMessage.Builder
 
build() - Method in class com.comapi.chat.model.ChatMessageStatus.Builder
 
build() - Method in class com.comapi.chat.model.ChatParticipant.Builder
 
build(StoreCallback<T>) - Method in class com.comapi.chat.StoreFactory
Build ChatStore implementation, preferably one that can support transactions.
build(StoreCallback<ChatStore>) - Method in class com.comapi.chat.StoreFactory.ChatStoreFactory
 
buildComapiConfig(ChatConfig) - Static method in class com.comapi.chat.ChatConfig.ExtHelper
 
Builder() - Constructor for class com.comapi.chat.database.model.DbOrphanedEvent.Builder
 
builder() - Static method in class com.comapi.chat.model.ChatConversation
 
builder() - Static method in class com.comapi.chat.model.ChatMessage
 
builder() - Static method in class com.comapi.chat.model.ChatMessageStatus
 
builder() - Static method in class com.comapi.chat.model.ChatParticipant
 

C

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
 
ChatConfig.ExtHelper - Class in com.comapi.chat
 
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.ProfileServiceWithDefaults - 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.
close(Context) - Method in class com.comapi.chat.ComapiChatClient
Method to close the client state, won't be usable anymore.
close() - Method in class com.comapi.chat.model.ChatStore
Close database.
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
 
com.comapi.chat.profile - package com.comapi.chat.profile
 
ComapiChat - Class in com.comapi.chat
Initialisation point for ComapiChatClient instance.
ComapiChat.ExtHelper - Class in com.comapi.chat
 
ComapiChatClient - Class in com.comapi.chat
Client implementation for chat layer SDK.
ComapiChatClient(Application, RxComapiClient, ChatConfig, EventsHandler, CallbackAdapter) - Constructor for class com.comapi.chat.ComapiChatClient
Recommended constructor.
ComapiChatClient.ExtHelper - Class in com.comapi.chat
 
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.
createProfileManager(Context) - Method in class com.comapi.chat.ComapiChatClient
Create ProfileManager to manage profile data.
createTempMessage() - Method in class com.comapi.chat.internal.MessageProcessor
Create a temporary message to be displayed while the message is being send.

D

Database - Class in com.comapi.chat.database
Database manager for data internal to chat layer.
DbCursorHelper - Class in com.comapi.chat.database
Database cursor helper for the getters.
DbOrphanedEvent - Class in com.comapi.chat.database.model
Orphaned event related to a message that wasn't processed yet.
DbOrphanedEvent() - Constructor for class com.comapi.chat.database.model.DbOrphanedEvent
 
DbOrphanedEvent.Builder - Class in com.comapi.chat.database.model
Builder to construct ContentValues for database.
DEFAULT_CONVERSATION_SYNCED - Static variable in class com.comapi.chat.InternalConfig
 
DEFAULT_EVENT_QUERIES - Static variable in class com.comapi.chat.InternalConfig
 
DEFAULT_EVENTS_PER_QUERY - Static variable in class com.comapi.chat.InternalConfig
 
DEFAULT_MESSAGES_PER_PAGE - Static variable in class com.comapi.chat.InternalConfig
 
DEFAULT_PART_DATA_SIZE - Static variable in class com.comapi.chat.InternalConfig
 
deleteAllMessages(String) - Method in class com.comapi.chat.model.ChatStore
Delete all messages from persistence store that are related to given conversation.
deleteConversation(String, String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
Create a conversation.
deleteConversation(String) - Method in class com.comapi.chat.model.ChatStore
Delete conversation from persistence store.
deleteConversation(String, String) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
Returns observable to create a conversation.
deleteMessage(String, String) - Method in class com.comapi.chat.model.ChatStore
Delete message from persistence store.
deleteOrphanedEvents(String[]) - Method in class com.comapi.chat.database.Database
Delete orphaned events (events returned in message query related to some message that was send later then messages obtained from the query.

E

endSession(<any>) - Method in class com.comapi.chat.ChatServiceAccessor.SessionService
Ends currently active session.
endSession() - Method in class com.comapi.chat.RxChatServiceAccessor.SessionService
Ends currently active session.
endTransaction() - Method in class com.comapi.chat.model.ChatStore
End transaction.
Error(int, String, String) - Constructor for class com.comapi.chat.ChatResult.Error
Recommended constructor.
Error(int, Throwable) - Constructor for class com.comapi.chat.ChatResult.Error
Recommended constructor.
Error(ComapiResult) - Constructor for class com.comapi.chat.ChatResult.Error
Recommended constructor.
eTag - Variable in class com.comapi.chat.model.ChatConversationBase
ETag for server to check if local version of the data is the same as the one the server side.
event(String) - Method in class com.comapi.chat.database.model.DbOrphanedEvent.Builder
Event jason (can be parsed to com.comapi.internal.network.model.messaging.OrphanedEvent
EVENT - Static variable in class com.comapi.chat.database.model.DbOrphanedEvent
 
event() - Method in class com.comapi.chat.database.model.DbOrphanedEvent
Json String representing the orphaned event.
EVENT_ID - Static variable in class com.comapi.chat.database.model.DbOrphanedEvent
 
eventId(String) - Method in class com.comapi.chat.database.model.DbOrphanedEvent.Builder
Event unique identifier.
EventsHandler - Class in com.comapi.chat
Event interceptor for foundation events.
EventsHandler() - Constructor for class com.comapi.chat.EventsHandler
 
execute(<any>) - Method in class com.comapi.chat.ObservableExecutor
Subscribe to observable.
execute(StoreTransaction<T>) - Method in class com.comapi.chat.StoreFactory
Execute store transaction based on provided ChatStore implementation.
execute(T) - Method in class com.comapi.chat.StoreTransaction
Provides ChatStore created by StoreFactory implementation set during SDK initialisation.
ExtHelper() - Constructor for class com.comapi.chat.ChatConfig.ExtHelper
 
ExtHelper() - Constructor for class com.comapi.chat.ComapiChat.ExtHelper
 
ExtHelper() - Constructor for class com.comapi.chat.ComapiChatClient.ExtHelper
 

F

firstLocalEventId - Variable in class com.comapi.chat.model.ChatConversationBase
Oldest conversation event id known by the app.
FoundationFactory - Class in com.comapi.chat
Factory class to initialise and obtain Foundation SDK client.
FoundationFactory() - Constructor for class com.comapi.chat.FoundationFactory
 

G

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.
getConversation(String) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
 
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
 
getCurrentProfile() - Method in class com.comapi.chat.profile.ProfileManager.ConflictResolver
Current profile data obtained from the services.
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.
getInstance() - Static method in class com.comapi.chat.ObservableExecutor
New instance.
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.
getLogger(ComapiChatClient, String) - Static method in class com.comapi.chat.ComapiChatClient.ExtHelper
 
getLogs() - Method in class com.comapi.chat.ComapiChatClient
Deprecated.
Use safer version - this#copyLogs(File) instead.
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, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileServiceWithDefaults
Get profile details from the service.
getProfile(String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileService
Gets profile data.
getProfile(String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileServiceWithDefaults
Get profile details from the service.
getProfileId() - Method in class com.comapi.chat.model.ChatMessageStatus
 
getRequestedPatch() - Method in class com.comapi.chat.profile.ProfileManager.ConflictResolver
Requested patch of user profile data.
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
Get global singleton of ComapiChatClient.
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
 

I

id() - Method in class com.comapi.chat.database.model.DbOrphanedEvent
Event id.
initialise(Application, ChatConfig) - Static method in class com.comapi.chat.ComapiChat
Initialise and build SDK client.
initialise(Application, ChatConfig, <any>) - Static method in class com.comapi.chat.ComapiChat
Initialise and build SDK client.
initialiseShared(Application, ChatConfig) - Static method in class com.comapi.chat.ComapiChat
Initialise and build SDK client singleton.
initialiseShared(Application, ChatConfig, <any>) - Static method in class com.comapi.chat.ComapiChat
Initialise and build SDK client singleton.
internalConfig(InternalConfig) - Method in class com.comapi.chat.ChatConfig
Sets SDKs new internal configuration.
InternalConfig - Class in com.comapi.chat
Internal configuration for Chat SDK.
InternalConfig() - Constructor for class com.comapi.chat.InternalConfig
Recommended constructor.
isPublic() - Method in class com.comapi.chat.model.ChatConversation
Check if the Conversation is public.
isSuccessful() - Method in class com.comapi.chat.ChatResult
True if operation was performed successfully.
isTyping(String, boolean, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
Sends participant is typing in conversation event.
isTyping(String, boolean) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
Sends participant is typing in conversation event.

L

lastLocalEventId - Variable in class com.comapi.chat.model.ChatConversationBase
Latest conversation event id known by the app.
latestRemoteEventId - Variable in class com.comapi.chat.model.ChatConversationBase
Latest conversation event id.
limitConversationSynced(int) - Method in class com.comapi.chat.InternalConfig
When the RxChatServiceAccessor.messaging().synchroniseStore() will be called the SDK will sync only this number of most recent conversations.
limitEventQueries(int) - Method in class com.comapi.chat.InternalConfig
When syncing the SDK will impose a limit on number of sequential events queries per conversation.
limitEventsPerQuery(int) - Method in class com.comapi.chat.InternalConfig
When syncing the SDK calling events query internally will impose a limit on events received in a single call.
limitMessagesPerPage(int) - Method in class com.comapi.chat.InternalConfig
Calling RxChatServiceAccessor.messaging().getPreviousMessages(String) will query messages with a limit of messages in a single call equal to this number.
limitPartDataSize(int) - Method in class com.comapi.chat.InternalConfig
When sending a message with Parts if the size of a part exceeds this limit on number of characters it will be automatically uploaded as an attachment.
LOCAL_AUTO_CONVERTED_FOLDER - Static variable in class com.comapi.chat.model.Attachment
 
LOCAL_PART_TYPE_ERROR - Static variable in class com.comapi.chat.model.Attachment
 
LOCAL_PART_TYPE_UPLOADING - Static variable in class com.comapi.chat.model.Attachment
 
LocalMessageStatus - Enum in com.comapi.chat.model
Describes status of the message interprated locally be the SDK.

M

MAP - Static variable in class com.comapi.chat.database.model.DbOrphanedEvent
Maps cursor row to an DbOrphanedEvent object.
markMessagesAsRead(String, List<String>, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
Sets statuses for sets of messages to 'read'.
markMessagesAsRead(String, List<String>) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
Sets statuses for sets of messages to 'read'.
MESSAGE_ID - Static variable in class com.comapi.chat.database.model.DbOrphanedEvent
 
MESSAGE_METADATA_TEMP_ID - Static variable in class com.comapi.chat.EventsHandler
 
messageId(String) - Method in class com.comapi.chat.database.model.DbOrphanedEvent.Builder
Message unique identifier.
messageId() - Method in class com.comapi.chat.database.model.DbOrphanedEvent
Message id of a message that this orphaned event is related to.
MessageProcessor - Class in com.comapi.chat.internal
Manages changes to message in the process oif uploading attachments and sending message.
messaging() - Method in class com.comapi.chat.ChatServiceAccessor
Access COMAPI Service messaging APIs.
messaging() - Method in class com.comapi.chat.RxChatServiceAccessor
Access COMAPI Service messaging APIs.
missingEvents(String, long, int) - Method in interface com.comapi.chat.internal.MissingEventsTracker.MissingEventsListener
 
MissingEventsTracker - Class in com.comapi.chat.internal
Tracks last conversation events and looks for gaps in monotonically increasing conversation event ids.
MissingEventsTracker() - Constructor for class com.comapi.chat.internal.MissingEventsTracker
 
MissingEventsTracker.MissingEventsListener - Interface in com.comapi.chat.internal
 
ModelAdapter - Class in com.comapi.chat.model
Class with helper methods to adapt interfaces of Foundation SDK to Chat SDK.
ModelAdapter() - Constructor for class com.comapi.chat.model.ModelAdapter
 

O

ObservableExecutor - Class in com.comapi.chat
Subscribes to an observable
ObservableExecutor() - Constructor for class com.comapi.chat.ObservableExecutor
 
onConflictPatchingData(ProfileManager.ConflictResolver) - Method in interface com.comapi.chat.profile.ProfileManagerSubscriber
Data version conflict occurred when patching or updating profile data.
onParticipantAdded(ParticipantAddedEvent) - Method in class com.comapi.chat.listeners.ParticipantsListener
Participant was added to a conversation.
onParticipantRemoved(ParticipantRemovedEvent) - Method in class com.comapi.chat.listeners.ParticipantsListener
Participant was removed from a conversation.
onParticipantUpdated(ParticipantUpdatedEvent) - Method in class com.comapi.chat.listeners.ParticipantsListener
Participant was updated in a a conversation.
onProfileDetails(ComapiProfile) - Method in interface com.comapi.chat.profile.ProfileManagerSubscriber
SDK is notifying UI about logged user profile details change.
onProfileUpdate(ProfileUpdateEvent) - Method in class com.comapi.chat.listeners.ProfileListener
User profile was updated.
open() - Method in class com.comapi.chat.model.ChatStore
Open/prepare database.
overrideCallbackAdapter(ChatConfig, CallbackAdapter) - Static method in class com.comapi.chat.ChatConfig.ExtHelper
 

P

participantsListener(ParticipantsListener) - Method in class com.comapi.chat.ChatConfig
Sets conversation participants changes listener.
ParticipantsListener - Class in com.comapi.chat.listeners
Listener for changes to participants list in conversations.
ParticipantsListener() - Constructor for class com.comapi.chat.listeners.ParticipantsListener
 
participantTyping(String, String, boolean) - Method in class com.comapi.chat.listeners.TypingListener
Participant started or stopped typing in a conversation.
patchMyProfile(Map<String, Object>, String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileService
Applies profile patch for an active session.
patchMyProfile(ComapiProfile, String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileServiceWithDefaults
Applies profile patch for an active session.
patchMyProfile(Map<String, Object>, String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileService
Applies profile patch for an active session.
patchMyProfile(ComapiProfile, String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileServiceWithDefaults
Applies profile patch for an active session.
patchProfile(String, Map<String, Object>, String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileService
Applies given profile patch if required permission is granted.
patchProfile(String, ComapiProfile, String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileServiceWithDefaults
Applies given profile patch if required permission is granted.
patchProfile(ComapiProfile) - Method in class com.comapi.chat.profile.ProfileManager
Applies profile patch for an active session.
patchProfile(String, Map<String, Object>, String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileService
Applies given profile patch if required permission is granted.
patchProfile(String, ComapiProfile, String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileServiceWithDefaults
Applies given profile patch if required permission is granted.
pause() - Method in class com.comapi.chat.profile.ProfileManager
Stop managing user profile data.
populate(ConversationUpdateEvent) - Method in class com.comapi.chat.model.ChatConversation.Builder
 
populate(ConversationUndeleteEvent) - Method in class com.comapi.chat.model.ChatConversation.Builder
 
populate(Conversation) - Method in class com.comapi.chat.model.ChatConversation.Builder
 
populate(ConversationDetails, String) - Method in class com.comapi.chat.model.ChatConversation.Builder
 
populate(ChatConversationBase) - Method in class com.comapi.chat.model.ChatConversationBase.Builder
 
populate(MessageReceived) - Method in class com.comapi.chat.model.ChatMessage.Builder
 
populate(MessageSentEvent) - Method in class com.comapi.chat.model.ChatMessage.Builder
 
populate(String, String, String, LocalMessageStatus, Long, Long) - Method in class com.comapi.chat.model.ChatMessageStatus.Builder
 
populate(MessageDeliveredEvent) - Method in class com.comapi.chat.model.ChatMessageStatus.Builder
 
populate(MessageReadEvent) - Method in class com.comapi.chat.model.ChatMessageStatus.Builder
 
populate(ParticipantEvent) - Method in class com.comapi.chat.model.ChatParticipant.Builder
 
populate(ParticipantUpdatedEvent) - Method in class com.comapi.chat.model.ChatParticipant.Builder
 
populate(Participant) - Method in class com.comapi.chat.model.ChatParticipant.Builder
 
prepareMessageToSend() - Method in class com.comapi.chat.internal.MessageProcessor
Prepare message to be sent through messaging service.
preparePostUpload(List<Attachment>) - Method in class com.comapi.chat.internal.MessageProcessor
Replace temporary attachment parts with final parts with upload details or error message.
preparePreUpload() - Method in class com.comapi.chat.internal.MessageProcessor
Add a temporary message part per not uet uploaded attachment.
profile() - Method in class com.comapi.chat.ChatServiceAccessor
Access COMAPI Service profile APIs.
profile() - Method in class com.comapi.chat.RxChatServiceAccessor
Access COMAPI Service profile APIs.
profileCallFinishedSuccessfully(String) - Method in interface com.comapi.chat.profile.ProfileManagerSubscriber
Service call has been finished successfully.
profileCallFinishedWithError(String) - Method in interface com.comapi.chat.profile.ProfileManagerSubscriber
Service call has been finished with errors.
profileCallStarted() - Method in interface com.comapi.chat.profile.ProfileManagerSubscriber
Service call is running in the background.
profileListener(ProfileListener) - Method in class com.comapi.chat.ChatConfig
Sets profile changes listener.
ProfileListener - Class in com.comapi.chat.listeners
Listener for changes to user profile details.
ProfileListener() - Constructor for class com.comapi.chat.listeners.ProfileListener
 
ProfileManager - Class in com.comapi.chat.profile
Class to help managing profile details for registered user.
ProfileManager(Context, RxComapiClient, ObservableExecutor) - Constructor for class com.comapi.chat.profile.ProfileManager
Internal usage constructor.
ProfileManager.ConflictResolver - Class in com.comapi.chat.profile
Conflict resolution provider.
ProfileManagerSubscriber - Interface in com.comapi.chat.profile
Interface components interested in logged in user profile data.
ProfileServiceWithDefaults(RxServiceAccessor.ProfileServiceWithDefaults) - Constructor for class com.comapi.chat.ChatServiceAccessor.ProfileServiceWithDefaults
 
ProfileServiceWithDefaults() - Constructor for class com.comapi.chat.RxChatServiceAccessor.ProfileServiceWithDefaults
 
profileWithDefaults() - Method in class com.comapi.chat.ChatServiceAccessor
Access COMAPI Service profile APIs.
profileWithDefaults() - Method in class com.comapi.chat.RxChatServiceAccessor
Access COMAPI Service profile APIs.

Q

queryOrphanedEvents(String[]) - Method in class com.comapi.chat.database.Database
Query orphaned events (events returned in message query related to some message that was send later then messages obtained from the query.
queryProfiles(String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileService
Query user profiles.
queryProfiles(String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileServiceWithDefaults
Query user profiles on the services.
queryProfiles(String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileService
Query user profiles.
queryProfiles(String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileServiceWithDefaults
Query user profiles on the services.

R

removeListener(ParticipantsListener) - Method in class com.comapi.chat.ComapiChatClient
Removes listener for changes in participant list in conversations.
removeListener(ProfileListener) - Method in class com.comapi.chat.ComapiChatClient
Removes listener for changes in profile details.
removeListener(TypingListener) - Method in class com.comapi.chat.ComapiChatClient
Removes listener for user is typing/finished typing events.
removeParticipants(String, List<String>, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
Remove list of participants from a conversation.
removeParticipants(String, List<String>) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
Returns observable to remove list of participants from a conversation.
resetDatabase() - Method in class com.comapi.chat.database.Database
Recreates empty database.
resetShared() - Static method in class com.comapi.chat.ComapiChat.ExtHelper
 
resolve(ComapiProfile) - Method in class com.comapi.chat.profile.ProfileManager.ConflictResolver
Resolve data version conflict.
resume(ProfileManagerSubscriber) - Method in class com.comapi.chat.profile.ProfileManager
Start managing user profile data.
RxChatServiceAccessor - Class in com.comapi.chat
 
RxChatServiceAccessor.MessagingService - Class in com.comapi.chat
 
RxChatServiceAccessor.ProfileService - Class in com.comapi.chat
 
RxChatServiceAccessor.ProfileServiceWithDefaults - Class in com.comapi.chat
 
RxChatServiceAccessor.SessionService - Class in com.comapi.chat
 
rxService() - Method in class com.comapi.chat.ComapiChatClient
Access to reactive Comapi service APIs.

S

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.
setFoundationFactory(ChatConfig, FoundationFactory) - Static method in class com.comapi.chat.ChatConfig.ExtHelper
 
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
 
setName(String) - Method in class com.comapi.chat.model.ChatConversation.Builder
 
setObservableExecutor(ChatConfig, ObservableExecutor) - Static method in class com.comapi.chat.ChatConfig.ExtHelper
 
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 Comapi session.
store(StoreFactory<T>) - 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
 
StoreFactory.ChatStoreFactory<T extends ChatStore> - Class in com.comapi.chat
Store factory class to build non generic persistance store objects.
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.

T

TABLE_NAME - Static variable in class com.comapi.chat.database.model.DbOrphanedEvent
 
toString() - Method in class com.comapi.chat.InternalConfig
 
typingListener(TypingListener) - Method in class com.comapi.chat.ChatConfig
Sets participant is typing in a conversation listener.
TypingListener - Class in com.comapi.chat.listeners
Listener for user started, stopped typing events in a conversation.
TypingListener() - Constructor for class com.comapi.chat.listeners.TypingListener
 

U

update(ChatConversationBase) - Method in class com.comapi.chat.model.ChatStore
Update conversation in persistence store.
update(ChatMessageStatus) - Method in class com.comapi.chat.model.ChatStore
Update stored ChatMessage with a new ChatMessageStatus.
updateConversation(String, String, ConversationUpdate, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.MessagingService
Update a conversation.
updateConversation(String, String, ConversationUpdate) - Method in class com.comapi.chat.RxChatServiceAccessor.MessagingService
Returns observable to update a conversation.
updatedOn - Variable in class com.comapi.chat.model.ChatConversationBase
Date on which the conversation was updated for the last time.
updateProfile(Map<String, Object>, String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileService
Updates profile for an active session.
updateProfile(ComapiProfile, String, <any>) - Method in class com.comapi.chat.ChatServiceAccessor.ProfileServiceWithDefaults
Updates profile for an active session.
updateProfile(ComapiProfile) - Method in class com.comapi.chat.profile.ProfileManager
Applies profile update for an active session.
updateProfile(Map<String, Object>, String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileService
Updates profile for an active session.
updateProfile(ComapiProfile, String) - Method in class com.comapi.chat.RxChatServiceAccessor.ProfileServiceWithDefaults
Updates profile for an active session.
updateWithUploadDetails(UploadContentResponse) - Method in class com.comapi.chat.model.Attachment
For internal use.
uploadAttachments(List<Attachment>, RxComapiClient) - Method in class com.comapi.chat.internal.AttachmentController
Create observable to perform attachments upload.
upsert(ChatConversation) - Method in class com.comapi.chat.model.ChatStore
Insert or update conversation in persistence store.
upsert(ChatMessage) - Method in class com.comapi.chat.model.ChatStore
Insert or update message in persistence store.

V

valueOf(String) - Static method in enum com.comapi.chat.model.ChatRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.comapi.chat.model.LocalMessageStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.comapi.chat.model.ChatRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.comapi.chat.model.LocalMessageStatus
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G I L M O P Q R S T U V 
Skip navigation links