Liblinphone  5.5.0
Linphone.ChatRoomListener Class Reference
Inheritance diagram for Linphone.ChatRoomListener:
Linphone.LinphoneObject

Public Member Functions

delegate void OnIsComposingReceivedDelegate (Linphone.ChatRoom chatRoom, Linphone.Address remoteAddress, bool isComposing)
 
delegate void OnMessageReceivedDelegate (Linphone.ChatRoom chatRoom, Linphone.ChatMessage message)
 
delegate void OnMessagesReceivedDelegate (Linphone.ChatRoom chatRoom, IEnumerable< Linphone.ChatMessage > chatMessages)
 
delegate void OnNewEventDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnNewEventsDelegate (Linphone.ChatRoom chatRoom, IEnumerable< Linphone.EventLog > eventLogs)
 
delegate void OnChatMessageReceivedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnChatMessagesReceivedDelegate (Linphone.ChatRoom chatRoom, IEnumerable< Linphone.EventLog > eventLogs)
 
delegate void OnChatMessageSendingDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnChatMessageSentDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnParticipantAddedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnParticipantRemovedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnParticipantAdminStatusChangedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnOperationFailedDelegate (Linphone.ChatRoom chatRoom)
 
delegate void OnStateChangedDelegate (Linphone.ChatRoom chatRoom, Linphone.ChatRoomState newState)
 
delegate void OnSecurityEventDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnSubjectChangedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnMessageEarlyFailureDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnUndecryptableMessageReceivedDelegate (Linphone.ChatRoom chatRoom, Linphone.ChatMessage message)
 
delegate void OnParticipantDeviceAddedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnParticipantDeviceRemovedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnParticipantDeviceStateChangedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog, Linphone.ParticipantDeviceState state)
 
delegate void OnParticipantDeviceMediaAvailabilityChangedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnConferenceJoinedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnConferenceLeftDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnEphemeralEventDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnEphemeralMessageTimerStartedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnEphemeralMessageDeletedDelegate (Linphone.ChatRoom chatRoom, Linphone.EventLog eventLog)
 
delegate void OnConferenceAddressGenerationDelegate (Linphone.ChatRoom chatRoom)
 
delegate void OnParticipantRegistrationSubscriptionRequestedDelegate (Linphone.ChatRoom chatRoom, Linphone.Address participantAddress)
 
delegate void OnParticipantRegistrationUnsubscriptionRequestedDelegate (Linphone.ChatRoom chatRoom, Linphone.Address participantAddress)
 
delegate void OnChatMessageShouldBeStoredDelegate (Linphone.ChatRoom chatRoom, Linphone.ChatMessage message)
 
delegate void OnChatMessageParticipantImdnStateChangedDelegate (Linphone.ChatRoom chatRoom, Linphone.ChatMessage message, Linphone.ParticipantImdnState state)
 
delegate void OnChatRoomReadDelegate (Linphone.ChatRoom chatRoom)
 
delegate void OnNewMessageReactionDelegate (Linphone.ChatRoom chatRoom, Linphone.ChatMessage message, Linphone.ChatMessageReaction reaction)
 
delegate void OnMessageContentEditedDelegate (Linphone.ChatRoom chatRoom, Linphone.ChatMessage message)
 
delegate void OnMessageRetractedDelegate (Linphone.ChatRoom chatRoom, Linphone.ChatMessage message)
 

Properties

OnIsComposingReceivedDelegate OnIsComposingReceived [get, set]
 
OnMessageReceivedDelegate OnMessageReceived [get, set]
 
OnMessagesReceivedDelegate OnMessagesReceived [get, set]
 
OnNewEventDelegate OnNewEvent [get, set]
 
OnNewEventsDelegate OnNewEvents [get, set]
 
OnChatMessageReceivedDelegate OnChatMessageReceived [get, set]
 
OnChatMessagesReceivedDelegate OnChatMessagesReceived [get, set]
 
OnChatMessageSendingDelegate OnChatMessageSending [get, set]
 
OnChatMessageSentDelegate OnChatMessageSent [get, set]
 
OnParticipantAddedDelegate OnParticipantAdded [get, set]
 
OnParticipantRemovedDelegate OnParticipantRemoved [get, set]
 
OnParticipantAdminStatusChangedDelegate OnParticipantAdminStatusChanged [get, set]
 
OnOperationFailedDelegate OnOperationFailed [get, set]
 
OnStateChangedDelegate OnStateChanged [get, set]
 
OnSecurityEventDelegate OnSecurityEvent [get, set]
 
OnSubjectChangedDelegate OnSubjectChanged [get, set]
 
OnMessageEarlyFailureDelegate OnMessageEarlyFailure [get, set]
 
OnUndecryptableMessageReceivedDelegate OnUndecryptableMessageReceived [get, set]
 
OnParticipantDeviceAddedDelegate OnParticipantDeviceAdded [get, set]
 
OnParticipantDeviceRemovedDelegate OnParticipantDeviceRemoved [get, set]
 
OnParticipantDeviceStateChangedDelegate OnParticipantDeviceStateChanged [get, set]
 
OnParticipantDeviceMediaAvailabilityChangedDelegate OnParticipantDeviceMediaAvailabilityChanged [get, set]
 
OnConferenceJoinedDelegate OnConferenceJoined [get, set]
 
OnConferenceLeftDelegate OnConferenceLeft [get, set]
 
OnEphemeralEventDelegate OnEphemeralEvent [get, set]
 
OnEphemeralMessageTimerStartedDelegate OnEphemeralMessageTimerStarted [get, set]
 
OnEphemeralMessageDeletedDelegate OnEphemeralMessageDeleted [get, set]
 
OnConferenceAddressGenerationDelegate OnConferenceAddressGeneration [get, set]
 
OnParticipantRegistrationSubscriptionRequestedDelegate OnParticipantRegistrationSubscriptionRequested [get, set]
 
OnParticipantRegistrationUnsubscriptionRequestedDelegate OnParticipantRegistrationUnsubscriptionRequested [get, set]
 
OnChatMessageShouldBeStoredDelegate OnChatMessageShouldBeStored [get, set]
 
OnChatMessageParticipantImdnStateChangedDelegate OnChatMessageParticipantImdnStateChanged [get, set]
 
OnChatRoomReadDelegate OnChatRoomRead [get, set]
 
OnNewMessageReactionDelegate OnNewMessageReaction [get, set]
 
OnMessageContentEditedDelegate OnMessageContentEdited [get, set]
 
OnMessageRetractedDelegate OnMessageRetracted [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Linphone.LinphoneObject
static String linphone_pointer_to_string (IntPtr ptr)
 
static IntPtr linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str)
 
IntPtr StringArrayToBctbxList (IEnumerable< string > stringlist)
 
void CleanStringArrayPtrs (IntPtr l)
 

Detailed Description

An object to handle the callbacks for the handling a Linphone.ChatRoom objects.

Use Linphone.Factory.CreateChatRoomCbs() to create an instance. Then pass the object to a Linphone.ChatRoom instance through Linphone.ChatRoom.AddListener().

Member Function Documentation

delegate void Linphone.ChatRoomListener.OnChatMessageParticipantImdnStateChangedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.ChatMessage  message,
Linphone.ParticipantImdnState  state 
)

Get the message's participant state changed callback.

Returns
The message's participant state changed callback callback
delegate void Linphone.ChatRoomListener.OnChatMessageReceivedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the chat message received callback.

Returns
The current chat message received callback.
delegate void Linphone.ChatRoomListener.OnChatMessageSendingDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the chat message sending callback.

Returns
The current chat message being sent callback.
delegate void Linphone.ChatRoomListener.OnChatMessageSentDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the chat message sent callback.

Returns
The current chat message sent callback.
delegate void Linphone.ChatRoomListener.OnChatMessageShouldBeStoredDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.ChatMessage  message 
)

Get the message should be stored callback.

Returns
The message should be stored callback
delegate void Linphone.ChatRoomListener.OnChatMessagesReceivedDelegate ( Linphone.ChatRoom  chatRoom,
IEnumerable< Linphone.EventLog eventLogs 
)

Get the chat messages received callback.

Only called when aggregation is enabled (aka [sip] chat_messages_aggregation == 1 or using Linphone.Core.ChatMessagesAggregationEnabled), it replaces the single chat message received callback.

Returns
The current chat message received callback.
delegate void Linphone.ChatRoomListener.OnChatRoomReadDelegate ( Linphone.ChatRoom  chatRoom)

Get the "marked as read" callback.

Returns
The marked as read callback.
delegate void Linphone.ChatRoomListener.OnConferenceAddressGenerationDelegate ( Linphone.ChatRoom  chatRoom)

Get the conference address generation callback.

Returns
The current conference address generation callback
delegate void Linphone.ChatRoomListener.OnConferenceJoinedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the conference joined callback.

Returns
The current conference joined callback.
delegate void Linphone.ChatRoomListener.OnConferenceLeftDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the conference left callback.

Returns
The current conference left callback.
delegate void Linphone.ChatRoomListener.OnEphemeralEventDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the ephemeral event callback.

Returns
The ephemeral event callback to be used.
delegate void Linphone.ChatRoomListener.OnEphemeralMessageDeletedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the ephemeral message deleted callback.

This callback is used when a message deletion timer runs out (message is deleted).

Returns
The current ephemeral message deleted callback.
delegate void Linphone.ChatRoomListener.OnEphemeralMessageTimerStartedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the current "ephemeral message timer started" callback.

This callback is called when a message deletion timer starts (the message has been viewed).

Returns
The current ephemeral message "timer started" callback.
delegate void Linphone.ChatRoomListener.OnIsComposingReceivedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.Address  remoteAddress,
bool  isComposing 
)

Get the is-composing received callback.

Returns
The current is-composing received callback.
delegate void Linphone.ChatRoomListener.OnMessageContentEditedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.ChatMessage  message 
)

Get the message content edited callback.

Returns
The current message content edited callback.
delegate void Linphone.ChatRoomListener.OnMessageEarlyFailureDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the message early failure callback.

Returns
The current message early failure callback.
delegate void Linphone.ChatRoomListener.OnMessageReceivedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.ChatMessage  message 
)

Get the message received callback.

Returns
The current message received callback.
delegate void Linphone.ChatRoomListener.OnMessageRetractedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.ChatMessage  message 
)

Get the message retracted callback.

Returns
The current message retracted callback.
delegate void Linphone.ChatRoomListener.OnMessagesReceivedDelegate ( Linphone.ChatRoom  chatRoom,
IEnumerable< Linphone.ChatMessage chatMessages 
)

Get 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.

Returns
The current chat messages received callback.
delegate void Linphone.ChatRoomListener.OnNewEventDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the new event log callback.

This callback will be called before every other Linphone.EventLog related callback.

Returns
The current event log created callback.
delegate void Linphone.ChatRoomListener.OnNewEventsDelegate ( Linphone.ChatRoom  chatRoom,
IEnumerable< Linphone.EventLog eventLogs 
)

Get the new event logs callback.

This callback will be called before every other Linphone.EventLog related callback.

Returns
The current event logs created callback.
delegate void Linphone.ChatRoomListener.OnNewMessageReactionDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.ChatMessage  message,
Linphone.ChatMessageReaction  reaction 
)

Get the new reaction callback.

Returns
The current new reaction callback.
delegate void Linphone.ChatRoomListener.OnOperationFailedDelegate ( Linphone.ChatRoom  chatRoom)

Get the leave failed callback.

Returns
The current leave failed callback.
delegate void Linphone.ChatRoomListener.OnParticipantAddedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the participant added callback.

Returns
The current participant added callback.
delegate void Linphone.ChatRoomListener.OnParticipantAdminStatusChangedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the participant admin status changed callback.

Returns
The current participant admin status changed callback.
delegate void Linphone.ChatRoomListener.OnParticipantDeviceAddedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the participant device added callback.

Returns
The current participant device added callback.
delegate void Linphone.ChatRoomListener.OnParticipantDeviceMediaAvailabilityChangedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the participant device media availability changed callback.

Returns
The current participant device media availability changed callback.
delegate void Linphone.ChatRoomListener.OnParticipantDeviceRemovedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the participant device removed callback.

Returns
The current participant device removed callback.
delegate void Linphone.ChatRoomListener.OnParticipantDeviceStateChangedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog,
Linphone.ParticipantDeviceState  state 
)

Get the participant device state callback.

Returns
The current participant device state callback.
delegate void Linphone.ChatRoomListener.OnParticipantRegistrationSubscriptionRequestedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.Address  participantAddress 
)

Get the participant registration subscription callback.

Returns
The participant registration subscription callback
delegate void Linphone.ChatRoomListener.OnParticipantRegistrationUnsubscriptionRequestedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.Address  participantAddress 
)

Get the participant registration unsubscription callback.

Returns
The participant registration unsubscription callback
delegate void Linphone.ChatRoomListener.OnParticipantRemovedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the participant removed callback.

Returns
The current participant removed callback.
delegate void Linphone.ChatRoomListener.OnSecurityEventDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the security event callback.

Returns
The security event callback to be used.
delegate void Linphone.ChatRoomListener.OnStateChangedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.ChatRoomState  newState 
)

Get the state changed callback.

Returns
The current state changed callback.
delegate void Linphone.ChatRoomListener.OnSubjectChangedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.EventLog  eventLog 
)

Get the subject changed callback.

Returns
The current subject changed callback.
delegate void Linphone.ChatRoomListener.OnUndecryptableMessageReceivedDelegate ( Linphone.ChatRoom  chatRoom,
Linphone.ChatMessage  message 
)

Get the undecryptable message received callback.

Returns
The current undecryptable message received callback.

The documentation for this class was generated from the following file: