public class ChatRoomListenerStub extends java.lang.Object implements ChatRoomListener
Constructor and Description |
---|
ChatRoomListenerStub() |
Modifier and Type | Method and Description |
---|---|
void |
onChatMessageParticipantImdnStateChanged(ChatRoom chatRoom,
ChatMessage message,
ParticipantImdnState state)
Callback used to notify a participant state has changed in a message of this
chat room. |
void |
onChatMessageReceived(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that a chat message has been received.
|
void |
onChatMessageSending(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that a chat message is being sent.
|
void |
onChatMessageSent(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that a chat message has been sent.
|
void |
onChatMessageShouldBeStored(ChatRoom chatRoom,
ChatMessage message)
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 chatRoom)
Callback used when a group chat room is created server-side to generate the
address of the chat room. |
void |
onConferenceJoined(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room has been joined.
|
void |
onConferenceLeft(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room has been left.
|
void |
onEphemeralEvent(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that an ephemeral related event has been
generated. |
void |
onEphemeralMessageDeleted(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that an ephemeral message has been deleted.
|
void |
onEphemeralMessageTimerStarted(ChatRoom chatRoom,
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 chatRoom,
Address remoteAddress,
boolean isComposing)
Is composing notification callback prototype.
|
void |
onMessageReceived(ChatRoom chatRoom,
ChatMessage message)
Callback used to notify a chat room that a message has been received.
|
void |
onNewEvent(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that an event log has been created.
|
void |
onParticipantAdded(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that a participant has been added.
|
void |
onParticipantAdminStatusChanged(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that the admin status of a participant has
been changed. |
void |
onParticipantDeviceAdded(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that a participant has been added.
|
void |
onParticipantDeviceRemoved(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that a participant has been removed.
|
void |
onParticipantRegistrationSubscriptionRequested(ChatRoom chatRoom,
Address participantAddress)
Callback used when a group chat room server is subscribing to registration
state of a participant. |
void |
onParticipantRegistrationUnsubscriptionRequested(ChatRoom chatRoom,
Address participantAddress)
Callback used when a group chat room server is unsubscribing to registration
state of a participant. |
void |
onParticipantRemoved(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a chat room that a participant has been removed.
|
void |
onSecurityEvent(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify a security event in the chat room.
|
void |
onStateChanged(ChatRoom chatRoom,
ChatRoom.State newState)
Callback used to notify a chat room state has changed.
|
void |
onSubjectChanged(ChatRoom chatRoom,
EventLog eventLog)
Callback used to notify that the subject of a chat room has changed.
|
void |
onUndecryptableMessageReceived(ChatRoom chatRoom,
ChatMessage message)
Callback used to notify a chat room that a message has been received but we
were unable to decrypt it. |
public void onChatMessageSending(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onChatMessageSending
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onMessageReceived(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message)
ChatRoomListener
onMessageReceived
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object message
- The LinphoneChatMessage that has been received public void onChatMessageShouldBeStored(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message)
ChatRoomListener
onChatMessageShouldBeStored
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object message
- The LinphoneChatMessage that is being received public void onEphemeralEvent(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onEphemeralEvent
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onParticipantAdminStatusChanged(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onParticipantAdminStatusChanged
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onUndecryptableMessageReceived(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message)
ChatRoomListener
onUndecryptableMessageReceived
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom involved in this conversation message
- The LinphoneChatMessage that has been received public void onParticipantRegistrationUnsubscriptionRequested(@NonNull ChatRoom chatRoom, @NonNull Address participantAddress)
ChatRoomListener
onParticipantRegistrationUnsubscriptionRequested
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object participantAddress
- LinphoneAddress object public void onParticipantRemoved(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onParticipantRemoved
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onConferenceLeft(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onConferenceLeft
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onSecurityEvent(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onSecurityEvent
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onNewEvent(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onNewEvent
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onEphemeralMessageTimerStarted(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onEphemeralMessageTimerStarted
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onSubjectChanged(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onSubjectChanged
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onParticipantAdded(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onParticipantAdded
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onIsComposingReceived(@NonNull ChatRoom chatRoom, @NonNull Address remoteAddress, boolean isComposing)
ChatRoomListener
onIsComposingReceived
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom involved in the conversation remoteAddress
- The LinphoneAddress that has sent the is-composingisComposing
- A boolean value telling whether the remote is composing orpublic void onChatMessageReceived(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onChatMessageReceived
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onStateChanged(@NonNull ChatRoom chatRoom, ChatRoom.State newState)
ChatRoomListener
onStateChanged
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object newState
- The new LinphoneChatRoomState of the chat room public void onConferenceJoined(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onConferenceJoined
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onParticipantDeviceAdded(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onParticipantDeviceAdded
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onEphemeralMessageDeleted(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onEphemeralMessageDeleted
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onParticipantRegistrationSubscriptionRequested(@NonNull ChatRoom chatRoom, @NonNull Address participantAddress)
ChatRoomListener
onParticipantRegistrationSubscriptionRequested
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object participantAddress
- LinphoneAddress object public void onParticipantDeviceRemoved(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onParticipantDeviceRemoved
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onChatMessageSent(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
ChatRoomListener
onChatMessageSent
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object eventLog
- LinphoneEventLog The event to be notified public void onConferenceAddressGeneration(@NonNull ChatRoom chatRoom)
ChatRoomListener
onConferenceAddressGeneration
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object public void onChatMessageParticipantImdnStateChanged(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message, @NonNull ParticipantImdnState state)
ChatRoomListener
onChatMessageParticipantImdnStateChanged
in interface ChatRoomListener
chatRoom
- LinphoneChatRoom object message
- The LinphoneChatMessage for which a participant has it's statestate
- The LinphoneParticipantImdnState