ChatRoomDelegate
open class ChatRoomDelegate : LinphoneObjectDelegate
Undocumented
-
Undocumented
Declaration
Swift
public init()
-
Callback used to notify a chat room that a message has been received but we were unable to decrypt it.
Declaration
Swift
open func onUndecryptableMessageReceived(cr: ChatRoom, msg: ChatMessage)
Parameters
cr
LinphoneChatRoom involved in this conversation
msg
The LinphoneChatMessage that has been received
-
Is composing notification callback prototype.
Declaration
Parameters
cr
LinphoneChatRoom involved in the conversation
remoteAddr
The address that has sent the is-composing notification
isComposing
A boolean value telling whether the remote is composing or not
-
Callback used when a group chat room is created server-side to generate the address of the chat room. The function linphone_chat_room_set_conference_address needs to be called by this callback.
Declaration
Swift
open func onConferenceAddressGeneration(cr: ChatRoom)
Parameters
cr
LinphoneChatRoom object
-
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.
Declaration
Swift
open func onChatMessageShouldBeStored(cr: ChatRoom, msg: ChatMessage)
Parameters
cr
LinphoneChatRoom object
msg
The LinphoneChatMessage that is being received
-
Callback used to notify a chat room that a message has been received.
Declaration
Swift
open func onMessageReceived(cr: ChatRoom, msg: ChatMessage)
Parameters
cr
LinphoneChatRoom object
msg
The LinphoneChatMessage that has been received