From 8fb1bc18bad99b2de79783848b41d07da01315a7 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 01 九月 2021 17:04:05 +0800
Subject: [PATCH] 采用纯oc sdk解决版本适配问题;解决呼叫不能截屏问题

---
 Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-chat-room.h |   47 +++--------------------------------------------
 1 files changed, 3 insertions(+), 44 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-chat-room.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-chat-room.h
old mode 100755
new mode 100644
index 14bbf01..042585a
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-chat-room.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-chat-room.h
@@ -157,46 +157,6 @@
 LINPHONE_PUBLIC void linphone_chat_room_mark_as_read(LinphoneChatRoom *cr);
 
 /**
- * Enable or disable the ephemeral message feature in the chat room. Works only for conference based chat room.
- * An ephemeral message will automatically disappear from the recipient's screen after the message has been viewed.
- * @param[in] cr #LinphoneChatRoom object
- * @param[in] ephem TRUE if the ephemeral message feature is enabled, FALSE otherwise.
- */
-LINPHONE_PUBLIC void linphone_chat_room_enable_ephemeral (LinphoneChatRoom *cr, bool_t ephem);
-
-/**
- * Returns whether or not the ephemeral message feature is enabled in the chat room.
- * @param[in] cr The #LinphoneChatRoom object corresponding to the conversation
- * @return true if ephemeral is enabled, false otherwise.
- */
-LINPHONE_PUBLIC bool_t linphone_chat_room_ephemeral_enabled (const LinphoneChatRoom *cr);
-
-/**
- * Set lifetime (in seconds) for all new ephemral messages in the chat room.
- * After the message is read, it will be deleted after "time" seconds.
- * @param[in] cr #LinphoneChatRoom object
- * @param[in] time The ephemral lifetime, default 24h, 86400s
- */
-LINPHONE_PUBLIC void linphone_chat_room_set_ephemeral_lifetime (LinphoneChatRoom *cr, long time);
-
-/**
- * Get lifetime (in seconds) for all new ephemeral messages in the chat room.
- * After the message is read, it will be deleted after "time" seconds.
- * @param[in] cr #LinphoneChatRoom object
- * @return the ephemeral lifetime (in secoonds)
- */
-LINPHONE_PUBLIC long linphone_chat_room_get_ephemeral_lifetime (const LinphoneChatRoom *cr);
-
-/**
- * Uses linphone spec to check if all participants support ephemeral messages.
- * It doesn't prevent to send ephemeral messages in the room but those who don't support it
- * won't delete messages after lifetime has expired.
- * @param[in] cr #LinphoneChatRoom object
- * @return true if all participants in the chat room support ephemeral messages, false otherwise
- */
-LINPHONE_PUBLIC bool_t linphone_chat_room_ephemeral_supported_by_all_participants (const LinphoneChatRoom *cr);
-
-/**
  * Delete a message from the chat room history.
  * @param[in] cr The #LinphoneChatRoom object corresponding to the conversation.
  * @param[in] msg The #LinphoneChatMessage object to remove.
@@ -326,7 +286,7 @@
  * When realtime text is enabled #linphone_call_params_realtime_text_enabled, #LinphoneCoreIsComposingReceivedCb is call everytime a char is received from peer.
  * At the end of remote typing a regular #LinphoneChatMessage is received with committed data from #LinphoneCoreMessageReceivedCb.
  * @param[in] cr #LinphoneChatRoom object
- * @return  RFC 4103/T.140 char
+ * @returns  RFC 4103/T.140 char
  */
 LINPHONE_PUBLIC uint32_t linphone_chat_room_get_char(const LinphoneChatRoom *cr);
 
@@ -341,7 +301,7 @@
  * get Curent Call associated to this chatroom if any
  * To commit a message, use #linphone_chat_room_send_message
  * @param[in] room #LinphoneChatRomm
- * @return #LinphoneCall or NULL.
+ * @returns #LinphoneCall or NULL.
  */
 LINPHONE_PUBLIC LinphoneCall *linphone_chat_room_get_call(const LinphoneChatRoom *room);
 
@@ -402,9 +362,8 @@
  * Use linphone_chat_room_can_handle_participants() to know if this chat room handles participants.
  * @param[in] cr A #LinphoneChatRoom object
  * @param[in] addresses \bctbx_list{LinphoneAddress}
- * @return True if everything is OK, False otherwise
  */
-LINPHONE_PUBLIC bool_t linphone_chat_room_add_participants (LinphoneChatRoom *cr, const bctbx_list_t *addresses);
+LINPHONE_PUBLIC void linphone_chat_room_add_participants (LinphoneChatRoom *cr, const bctbx_list_t *addresses);
 
 /**
  * Tells whether a chat room is able to handle participants.

--
Gitblit v1.8.0