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 |
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.
|
public void onIsComposingReceived(ChatRoom cr, Address remoteAddr, boolean isComposing)
ChatRoomListener
onIsComposingReceived
in interface ChatRoomListener
public void onMessageReceived(ChatRoom cr, ChatMessage msg)
ChatRoomListener
onMessageReceived
in interface ChatRoomListener
public void onChatMessageReceived(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onChatMessageReceived
in interface ChatRoomListener
public void onChatMessageSent(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onChatMessageSent
in interface ChatRoomListener
public void onParticipantAdded(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantAdded
in interface ChatRoomListener
public void onParticipantRemoved(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantRemoved
in interface ChatRoomListener
public void onParticipantAdminStatusChanged(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantAdminStatusChanged
in interface ChatRoomListener
public void onStateChanged(ChatRoom cr, ChatRoom.State newState)
ChatRoomListener
onStateChanged
in interface ChatRoomListener
public void onSubjectChanged(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onSubjectChanged
in interface ChatRoomListener
public void onUndecryptableMessageReceived(ChatRoom cr, ChatMessage msg)
ChatRoomListener
onUndecryptableMessageReceived
in interface ChatRoomListener
public void onParticipantDeviceAdded(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantDeviceAdded
in interface ChatRoomListener
public void onParticipantDeviceRemoved(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onParticipantDeviceRemoved
in interface ChatRoomListener
public void onConferenceJoined(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onConferenceJoined
in interface ChatRoomListener
public void onConferenceLeft(ChatRoom cr, EventLog eventLog)
ChatRoomListener
onConferenceLeft
in interface ChatRoomListener
public void onConferenceAddressGeneration(ChatRoom cr)
ChatRoomListener
onConferenceAddressGeneration
in interface ChatRoomListener
public void onParticipantDeviceFetchRequested(ChatRoom cr, Address participantAddr)
ChatRoomListener
onParticipantDeviceFetchRequested
in interface ChatRoomListener
public void onParticipantsCapabilitiesChecked(ChatRoom cr, Address deviceAddr, Address[] participantsAddr)
ChatRoomListener
onParticipantsCapabilitiesChecked
in interface ChatRoomListener
public void onParticipantRegistrationSubscriptionRequested(ChatRoom cr, Address participantAddr)
ChatRoomListener
onParticipantRegistrationSubscriptionRequested
in interface ChatRoomListener
public void onParticipantRegistrationUnsubscriptionRequested(ChatRoom cr, Address participantAddr)
ChatRoomListener
onParticipantRegistrationUnsubscriptionRequested
in interface ChatRoomListener
public void onChatMessageShouldBeStored(ChatRoom cr, ChatMessage msg)
ChatRoomListener
onChatMessageShouldBeStored
in interface ChatRoomListener