public interface ChatRoomListener
Modifier and Type | Method and Description |
---|---|
void |
onChatMessageReceived(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that a chat message has been received.
|
void |
onChatMessageSent(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that a chat message is being sent.
|
void |
onChatMessageShouldBeStored(ChatRoom cr,
ChatMessage msg)
Callback used to tell the core whether or not to store the incoming message in
db or not using linphone_chat_message_set_to_be_stored.
|
void |
onConferenceAddressGeneration(ChatRoom cr)
Callback used when a group chat room is created server-side to generate the
address of the chat room.
|
void |
onConferenceJoined(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room has been joined.
|
void |
onConferenceLeft(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room has been left.
|
void |
onIsComposingReceived(ChatRoom cr,
Address remoteAddr,
boolean isComposing)
Is composing notification callback prototype.
|
void |
onMessageReceived(ChatRoom cr,
ChatMessage msg)
Callback used to notify a chat room that a message has been received.
|
void |
onParticipantAdded(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that a participant has been added.
|
void |
onParticipantAdminStatusChanged(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that the admin status of a participant has
been changed.
|
void |
onParticipantDeviceAdded(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that a participant has been added.
|
void |
onParticipantDeviceRemoved(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that a participant has been removed.
|
void |
onParticipantRegistrationSubscriptionRequested(ChatRoom cr,
Address participantAddr)
Callback used when a group chat room server is subscribing to registration
state of a participant.
|
void |
onParticipantRegistrationUnsubscriptionRequested(ChatRoom cr,
Address participantAddr)
Callback used when a group chat room server is unsubscribing to registration
state of a participant.
|
void |
onParticipantRemoved(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that a participant has been removed.
|
void |
onSecurityEvent(ChatRoom cr,
EventLog eventLog)
Callback used to notify a security event in the chat room.
|
void |
onStateChanged(ChatRoom cr,
ChatRoom.State newState)
Callback used to notify a chat room state has changed.
|
void |
onSubjectChanged(ChatRoom cr,
EventLog eventLog)
Callback used to notify that the subject of a chat room has changed.
|
void |
onUndecryptableMessageReceived(ChatRoom cr,
ChatMessage msg)
Callback used to notify a chat room that a message has been received but we
were unable to decrypt it.
|
void onUndecryptableMessageReceived(ChatRoom cr, ChatMessage msg)
void onConferenceLeft(ChatRoom cr, EventLog eventLog)
void onStateChanged(ChatRoom cr, ChatRoom.State newState)
void onParticipantAdded(ChatRoom cr, EventLog eventLog)
void onSubjectChanged(ChatRoom cr, EventLog eventLog)
void onIsComposingReceived(ChatRoom cr, Address remoteAddr, boolean isComposing)
void onConferenceAddressGeneration(ChatRoom cr)
void onChatMessageSent(ChatRoom cr, EventLog eventLog)
void onChatMessageReceived(ChatRoom cr, EventLog eventLog)
void onChatMessageShouldBeStored(ChatRoom cr, ChatMessage msg)
void onParticipantAdminStatusChanged(ChatRoom cr, EventLog eventLog)
void onMessageReceived(ChatRoom cr, ChatMessage msg)
void onParticipantDeviceRemoved(ChatRoom cr, EventLog eventLog)
void onParticipantRemoved(ChatRoom cr, EventLog eventLog)
void onParticipantRegistrationUnsubscriptionRequested(ChatRoom cr, Address participantAddr)
void onConferenceJoined(ChatRoom cr, EventLog eventLog)
void onSecurityEvent(ChatRoom cr, EventLog eventLog)
void onParticipantRegistrationSubscriptionRequested(ChatRoom cr, Address participantAddr)