public class ChatRoomListenerStub extends java.lang.Object implements ChatRoomListener
Constructor and Description |
---|
ChatRoomListenerStub() |
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 |
onEphemeralEvent(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that an ephemeral related event has been
generated.
|
void |
onEphemeralMessageDeleted(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that an ephemeral message has been deleted.
|
void |
onEphemeralMessageTimerStarted(ChatRoom cr,
EventLog eventLog)
Callback used to notify a chat room that the lifespan of an ephemeral message
before disappearing has started to decrease.
|
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.
|
public void onStateChanged(ChatRoom cr, ChatRoom.State newState)
ChatRoomListener
onStateChanged
in interface ChatRoomListener
newState
- The new state of the chat roompublic void onParticipantRegistrationUnsubscriptionRequested(ChatRoom cr, Address participantAddr)
ChatRoomListener
onParticipantRegistrationUnsubscriptionRequested
in interface ChatRoomListener
participantAddr
- LinphoneAddress objectpublic void onParticipantAdminStatusChanged(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantAdminStatusChanged
in interface ChatRoomListener
eventLog
- LinphoneEventLog The event to be notifiedpublic void onParticipantRemoved(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantRemoved
in interface ChatRoomListener
eventLog
- LinphoneEventLog The event to be notifiedpublic void onEphemeralMessageTimerStarted(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onEphemeralMessageTimerStarted
in interface ChatRoomListener
cr
- LinphoneChatRoom objectpublic void onUndecryptableMessageReceived(ChatRoom cr, ChatMessage msg)
ChatRoomListener
onUndecryptableMessageReceived
in interface ChatRoomListener
msg
- The LinphoneChatMessage that has been receivedpublic void onParticipantAdded(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantAdded
in interface ChatRoomListener
eventLog
- LinphoneEventLog The event to be notifiedpublic void onEphemeralEvent(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onEphemeralEvent
in interface ChatRoomListener
cr
- LinphoneChatRoom objectpublic void onChatMessageReceived(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onChatMessageReceived
in interface ChatRoomListener
eventLog
- LinphoneEventLog The event to be notifiedpublic void onConferenceAddressGeneration(ChatRoom cr)
ChatRoomListener
onConferenceAddressGeneration
in interface ChatRoomListener
cr
- LinphoneChatRoom objectpublic void onParticipantDeviceAdded(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantDeviceAdded
in interface ChatRoomListener
eventLog
- LinphoneEventLog The event to be notifiedpublic void onSecurityEvent(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onSecurityEvent
in interface ChatRoomListener
eventLog
- LinphoneEventLog The event to be notifiedpublic void onConferenceLeft(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onConferenceLeft
in interface ChatRoomListener
cr
- LinphoneChatRoom objectpublic void onSubjectChanged(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onSubjectChanged
in interface ChatRoomListener
eventLog
- LinphoneEventLog The event to be notifiedpublic void onChatMessageSent(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onChatMessageSent
in interface ChatRoomListener
eventLog
- LinphoneEventLog The event to be notifiedpublic void onConferenceJoined(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onConferenceJoined
in interface ChatRoomListener
cr
- LinphoneChatRoom objectpublic void onMessageReceived(ChatRoom cr, ChatMessage msg)
ChatRoomListener
onMessageReceived
in interface ChatRoomListener
msg
- The LinphoneChatMessage that has been receivedpublic void onEphemeralMessageDeleted(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onEphemeralMessageDeleted
in interface ChatRoomListener
cr
- LinphoneChatRoom objectpublic void onParticipantRegistrationSubscriptionRequested(ChatRoom cr, Address participantAddr)
ChatRoomListener
onParticipantRegistrationSubscriptionRequested
in interface ChatRoomListener
participantAddr
- LinphoneAddress objectpublic void onParticipantDeviceRemoved(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantDeviceRemoved
in interface ChatRoomListener
eventLog
- LinphoneEventLog The event to be notifiedpublic void onIsComposingReceived(ChatRoom cr, Address remoteAddr, boolean isComposing)
ChatRoomListener
onIsComposingReceived
in interface ChatRoomListener
isComposing
- A boolean value telling whether the remote is composing or
notpublic void onChatMessageShouldBeStored(ChatRoom cr, ChatMessage msg)
ChatRoomListener
onChatMessageShouldBeStored
in interface ChatRoomListener
msg
- The LinphoneChatMessage that is being received