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 |
onParticipantDeviceFetchRequested(ChatRoom cr,
Address participantAddr)
Callback used when a group chat room server is adding participant to fetch all
device information from participant.
|
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 |
onParticipantsCapabilitiesChecked(ChatRoom cr,
Address deviceAddr,
Address[] participantsAddr)
Callback used when a group chat room server is checking participants
capabilities.
|
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 onIsComposingReceived(ChatRoom cr, Address remoteAddr, boolean isComposing)
void onMessageReceived(ChatRoom cr, ChatMessage msg)
void onChatMessageReceived(ChatRoom cr, EventLog eventLog)
void onChatMessageSent(ChatRoom cr, EventLog eventLog)
void onParticipantAdded(ChatRoom cr, EventLog eventLog)
void onParticipantRemoved(ChatRoom cr, EventLog eventLog)
void onParticipantAdminStatusChanged(ChatRoom cr, EventLog eventLog)
void onStateChanged(ChatRoom cr, ChatRoom.State newState)
void onSubjectChanged(ChatRoom cr, EventLog eventLog)
void onUndecryptableMessageReceived(ChatRoom cr, ChatMessage msg)
void onParticipantDeviceAdded(ChatRoom cr, EventLog eventLog)
void onParticipantDeviceRemoved(ChatRoom cr, EventLog eventLog)
void onConferenceJoined(ChatRoom cr, EventLog eventLog)
void onConferenceLeft(ChatRoom cr, EventLog eventLog)
void onConferenceAddressGeneration(ChatRoom cr)
void onParticipantDeviceFetchRequested(ChatRoom cr, Address participantAddr)
void onParticipantsCapabilitiesChecked(ChatRoom cr, Address deviceAddr, Address[] participantsAddr)
void onParticipantRegistrationSubscriptionRequested(ChatRoom cr, Address participantAddr)
void onParticipantRegistrationUnsubscriptionRequested(ChatRoom cr, Address participantAddr)
void onChatMessageShouldBeStored(ChatRoom cr, ChatMessage msg)