Package org.linphone.core

# Class ChatRoomListenerStub

java.lang.Object
org.linphone.core.ChatRoomListenerStub

All Implemented Interfaces:
  `ChatRoomListener`

public class ChatRoomListenerStub extends Object implements ChatRoomListener

## Constructor Summary

Constructors
Constructor
Description
`ChatRoomListenerStub()`

## Method Summary

Modifier and Type
Method
Description
`void`
`onChatMessageParticipantImdnStateChanged(ChatRoom chatRoom, ChatMessage message, ParticipantImdnState state)`
Gets the message's participant state changed callback.
`void`
`onChatMessageReceived(ChatRoom chatRoom, EventLog eventLog)`
Gets the chat message received callback.
`void`
`onChatMessageSending(ChatRoom chatRoom, EventLog eventLog)`
Gets the chat message sending callback.
`void`
`onChatMessageSent(ChatRoom chatRoom, EventLog eventLog)`
Gets the chat message sent callback.
`void`
`onChatMessageShouldBeStored(ChatRoom chatRoom, ChatMessage message)`
Gets the message should be stored callback.
`void`
`onChatMessagesReceived(ChatRoom chatRoom, EventLog[] eventLogs)`
Gets the chat messages received callback.
`void`
`onChatRoomRead(ChatRoom chatRoom)`
Get the "marked as read" callback.
`void`
`onConferenceAddressGeneration(ChatRoom chatRoom)`
Gets the conference address generation callback.
`void`
`onConferenceJoined(ChatRoom chatRoom, EventLog eventLog)`
Gets the conference joined callback.
`void`
`onConferenceLeft(ChatRoom chatRoom, EventLog eventLog)`
Gets the conference left callback.
`void`
`onEphemeralEvent(ChatRoom chatRoom, EventLog eventLog)`
Gets the ephemeral event callback.
`void`
`onEphemeralMessageDeleted(ChatRoom chatRoom, EventLog eventLog)`
Gets the ephemeral message deleted callback.
`void`
`onEphemeralMessageTimerStarted(ChatRoom chatRoom, EventLog eventLog)`
Gets the current "ephemeral message timer started" callback.
`void`
`onIsComposingReceived(ChatRoom chatRoom, Address remoteAddress, boolean isComposing)`
Gets the is-composing received callback.
`void`
`onMessageContentEdited(ChatRoom chatRoom, ChatMessage message)`
Gets the message content edited callback.
`void`
`onMessageEarlyFailure(ChatRoom chatRoom, EventLog eventLog)`
Gets the message early failure callback.
`void`
`onMessageReceived(ChatRoom chatRoom, ChatMessage message)`
Gets the message received callback.
`void`
`onMessageRetracted(ChatRoom chatRoom, ChatMessage message)`
Gets the message retracted callback.
`void`
`onMessagesReceived(ChatRoom chatRoom, ChatMessage[] chatMessages)`
Gets the chat messages received callback.
`void`
`onNewEvent(ChatRoom chatRoom, EventLog eventLog)`
Gets the new event log callback.
`void`
`onNewEvents(ChatRoom chatRoom, EventLog[] eventLogs)`
Gets the new event logs callback.
`void`
`onNewMessageReaction(ChatRoom chatRoom, ChatMessage message, ChatMessageReaction reaction)`
Gets the new reaction callback.
`void`
`onOperationFailed(ChatRoom chatRoom)`
Gets the leave failed callback.
`void`
`onParticipantAdded(ChatRoom chatRoom, EventLog eventLog)`
Gets the participant added callback.
`void`
`onParticipantAdminStatusChanged(ChatRoom chatRoom, EventLog eventLog)`
Gets the participant admin status changed callback.
`void`
`onParticipantDeviceAdded(ChatRoom chatRoom, EventLog eventLog)`
Gets the participant device added callback.
`void`
`onParticipantDeviceMediaAvailabilityChanged(ChatRoom chatRoom, EventLog eventLog)`
Gets the participant device media availability changed callback.
`void`
`onParticipantDeviceRemoved(ChatRoom chatRoom, EventLog eventLog)`
Gets the participant device removed callback.
`void`
`onParticipantDeviceStateChanged(ChatRoom chatRoom, EventLog eventLog, ParticipantDevice.State state)`
Gets the participant device state callback.
`void`
`onParticipantRegistrationSubscriptionRequested(ChatRoom chatRoom, Address participantAddress)`
Gets the participant registration subscription callback.
`void`
`onParticipantRegistrationUnsubscriptionRequested(ChatRoom chatRoom, Address participantAddress)`
Gets the participant registration unsubscription callback.
`void`
`onParticipantRemoved(ChatRoom chatRoom, EventLog eventLog)`
Gets the participant removed callback.
`void`
`onSecurityEvent(ChatRoom chatRoom, EventLog eventLog)`
Gets the security event callback.
`void`
`onStateChanged(ChatRoom chatRoom, ChatRoom.State newState)`
Gets the state changed callback.
`void`
`onSubjectChanged(ChatRoom chatRoom, EventLog eventLog)`
Gets the subject changed callback.
`void`
`onUndecryptableMessageReceived(ChatRoom chatRoom, ChatMessage message)`
Gets the undecryptable message received callback.

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Details

### ChatRoomListenerStub

public ChatRoomListenerStub()

## Method Details

### onIsComposingReceived

public void onIsComposingReceived(@NonNull ChatRoom chatRoom, @NonNull Address remoteAddress, boolean isComposing)
Description copied from interface: `ChatRoomListener`
Gets the is-composing received callback.

Specified by:
  `onIsComposingReceived` in interface `ChatRoomListener`

### onMessageReceived

public void onMessageReceived(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message)
Description copied from interface: `ChatRoomListener`
Gets the message received callback.

Specified by:
  `onMessageReceived` in interface `ChatRoomListener`

### onMessagesReceived

public void onMessagesReceived(@NonNull ChatRoom chatRoom, @NonNull ChatMessage[] chatMessages)
Description copied from interface: `ChatRoomListener`
Gets the chat messages received callback.
Only called when aggregation is enabled (aka [sip] chat_messages_aggregation ==
1 or using linphone_core_set_chat_messages_aggregation_enabled), it replaces
the single message received callback.

Specified by:
  `onMessagesReceived` in interface `ChatRoomListener`

### onNewEvent

public void onNewEvent(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the new event log callback.
This callback will be called before every other `EventLog` related
callback.

Specified by:
  `onNewEvent` in interface `ChatRoomListener`

### onNewEvents

public void onNewEvents(@NonNull ChatRoom chatRoom, @NonNull EventLog[] eventLogs)
Description copied from interface: `ChatRoomListener`
Gets the new event logs callback.
This callback will be called before every other `EventLog` related
callback.

Specified by:
  `onNewEvents` in interface `ChatRoomListener`

### onChatMessageReceived

public void onChatMessageReceived(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the chat message received callback.

Specified by:
  `onChatMessageReceived` in interface `ChatRoomListener`

### onChatMessagesReceived

public void onChatMessagesReceived(@NonNull ChatRoom chatRoom, @NonNull EventLog[] eventLogs)
Description copied from interface: `ChatRoomListener`
Gets the chat messages received callback.
Only called when aggregation is enabled (aka [sip] chat_messages_aggregation ==
1 or using `Core.setChatMessagesAggregationEnabled(boolean)`), it replaces the
single chat message received callback.

Specified by:
  `onChatMessagesReceived` in interface `ChatRoomListener`

### onChatMessageSending

public void onChatMessageSending(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the chat message sending callback.

Specified by:
  `onChatMessageSending` in interface `ChatRoomListener`

### onChatMessageSent

public void onChatMessageSent(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the chat message sent callback.

Specified by:
  `onChatMessageSent` in interface `ChatRoomListener`

### onParticipantAdded

public void onParticipantAdded(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the participant added callback.

Specified by:
  `onParticipantAdded` in interface `ChatRoomListener`

### onParticipantRemoved

public void onParticipantRemoved(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the participant removed callback.

Specified by:
  `onParticipantRemoved` in interface `ChatRoomListener`

### onParticipantAdminStatusChanged

public void onParticipantAdminStatusChanged(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the participant admin status changed callback.

Specified by:
  `onParticipantAdminStatusChanged` in interface `ChatRoomListener`

### onOperationFailed

public void onOperationFailed(@NonNull ChatRoom chatRoom)
Description copied from interface: `ChatRoomListener`
Gets the leave failed callback.

Specified by:
  `onOperationFailed` in interface `ChatRoomListener`

### onStateChanged

public void onStateChanged(@NonNull ChatRoom chatRoom, ChatRoom.State newState)
Description copied from interface: `ChatRoomListener`
Gets the state changed callback.

Specified by:
  `onStateChanged` in interface `ChatRoomListener`

### onSecurityEvent

public void onSecurityEvent(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the security event callback.

Specified by:
  `onSecurityEvent` in interface `ChatRoomListener`

### onSubjectChanged

public void onSubjectChanged(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the subject changed callback.

Specified by:
  `onSubjectChanged` in interface `ChatRoomListener`

### onMessageEarlyFailure

public void onMessageEarlyFailure(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the message early failure callback.

Specified by:
  `onMessageEarlyFailure` in interface `ChatRoomListener`

### onUndecryptableMessageReceived

public void onUndecryptableMessageReceived(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message)
Description copied from interface: `ChatRoomListener`
Gets the undecryptable message received callback.

Specified by:
  `onUndecryptableMessageReceived` in interface `ChatRoomListener`

### onParticipantDeviceAdded

public void onParticipantDeviceAdded(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the participant device added callback.

Specified by:
  `onParticipantDeviceAdded` in interface `ChatRoomListener`

### onParticipantDeviceRemoved

public void onParticipantDeviceRemoved(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the participant device removed callback.

Specified by:
  `onParticipantDeviceRemoved` in interface `ChatRoomListener`

### onParticipantDeviceStateChanged

public void onParticipantDeviceStateChanged(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog, ParticipantDevice.State state)
Description copied from interface: `ChatRoomListener`
Gets the participant device state callback.

Specified by:
  `onParticipantDeviceStateChanged` in interface `ChatRoomListener`

### onParticipantDeviceMediaAvailabilityChanged

public void onParticipantDeviceMediaAvailabilityChanged(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the participant device media availability changed callback.

Specified by:
  `onParticipantDeviceMediaAvailabilityChanged` in interface `ChatRoomListener`

### onConferenceJoined

public void onConferenceJoined(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the conference joined callback.

Specified by:
  `onConferenceJoined` in interface `ChatRoomListener`

### onConferenceLeft

public void onConferenceLeft(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the conference left callback.

Specified by:
  `onConferenceLeft` in interface `ChatRoomListener`

### onEphemeralEvent

public void onEphemeralEvent(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the ephemeral event callback.

Specified by:
  `onEphemeralEvent` in interface `ChatRoomListener`

### onEphemeralMessageTimerStarted

public void onEphemeralMessageTimerStarted(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the current "ephemeral message timer started" callback.
This callback is called when a message deletion timer starts (the message has
been viewed).

Specified by:
  `onEphemeralMessageTimerStarted` in interface `ChatRoomListener`

### onEphemeralMessageDeleted

public void onEphemeralMessageDeleted(@NonNull ChatRoom chatRoom, @NonNull EventLog eventLog)
Description copied from interface: `ChatRoomListener`
Gets the ephemeral message deleted callback.
This callback is used when a message deletion timer runs out (message is
deleted).

Specified by:
  `onEphemeralMessageDeleted` in interface `ChatRoomListener`

### onConferenceAddressGeneration

public void onConferenceAddressGeneration(@NonNull ChatRoom chatRoom)
Description copied from interface: `ChatRoomListener`
Gets the conference address generation callback.

Specified by:
  `onConferenceAddressGeneration` in interface `ChatRoomListener`

### onParticipantRegistrationSubscriptionRequested

public void onParticipantRegistrationSubscriptionRequested(@NonNull ChatRoom chatRoom, @NonNull Address participantAddress)
Description copied from interface: `ChatRoomListener`
Gets the participant registration subscription callback.

Specified by:
  `onParticipantRegistrationSubscriptionRequested` in interface `ChatRoomListener`

### onParticipantRegistrationUnsubscriptionRequested

public void onParticipantRegistrationUnsubscriptionRequested(@NonNull ChatRoom chatRoom, @NonNull Address participantAddress)
Description copied from interface: `ChatRoomListener`
Gets the participant registration unsubscription callback.

Specified by:
  `onParticipantRegistrationUnsubscriptionRequested` in interface `ChatRoomListener`

### onChatMessageShouldBeStored

public void onChatMessageShouldBeStored(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message)
Description copied from interface: `ChatRoomListener`
Gets the message should be stored callback.

Specified by:
  `onChatMessageShouldBeStored` in interface `ChatRoomListener`

### onChatMessageParticipantImdnStateChanged

public void onChatMessageParticipantImdnStateChanged(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message, @NonNull ParticipantImdnState state)
Description copied from interface: `ChatRoomListener`
Gets the message's participant state changed callback.

Specified by:
  `onChatMessageParticipantImdnStateChanged` in interface `ChatRoomListener`

### onChatRoomRead

public void onChatRoomRead(@NonNull ChatRoom chatRoom)
Description copied from interface: `ChatRoomListener`
Get the "marked as read" callback.

Specified by:
  `onChatRoomRead` in interface `ChatRoomListener`

### onNewMessageReaction

public void onNewMessageReaction(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message, @NonNull ChatMessageReaction reaction)
Description copied from interface: `ChatRoomListener`
Gets the new reaction callback.

Specified by:
  `onNewMessageReaction` in interface `ChatRoomListener`

### onMessageContentEdited

public void onMessageContentEdited(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message)
Description copied from interface: `ChatRoomListener`
Gets the message content edited callback.

Specified by:
  `onMessageContentEdited` in interface `ChatRoomListener`

### onMessageRetracted

public void onMessageRetracted(@NonNull ChatRoom chatRoom, @NonNull ChatMessage message)
Description copied from interface: `ChatRoomListener`
Gets the message retracted callback.

Specified by:
  `onMessageRetracted` in interface `ChatRoomListener`