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
crLinphoneChatRoom involved in this conversation
msgThe LinphoneChatMessage that has been received
-
Is composing notification callback prototype.
Declaration
Parameters
crLinphoneChatRoom involved in the conversation
remoteAddrThe address that has sent the is-composing notification
isComposingA 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
crLinphoneChatRoom 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
crLinphoneChatRoom object
msgThe 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
crLinphoneChatRoom object
msgThe LinphoneChatMessage that has been received
ChatRoomDelegate Class Reference