From 6a99d9bf65aa5878cb409945ed2bdbdcb916d047 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期五, 02 九月 2022 14:56:40 +0800
Subject: [PATCH] 更新linphone sdk

---
 Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-participant.h |   50 ++++++++++++++++++++++++++++++++++----------------
 1 files changed, 34 insertions(+), 16 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-participant.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-participant.h
old mode 100644
new mode 100755
index d55376a..b0ea664
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-participant.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-participant.h
@@ -20,6 +20,7 @@
 #ifndef _L_C_PARTICIPANT_H_
 #define _L_C_PARTICIPANT_H_
 
+#include "time.h"
 #include "linphone/api/c-types.h"
 
 // =============================================================================
@@ -35,65 +36,82 @@
 
 /**
  * Increment reference count of #LinphoneParticipant object.
+ * @param participant a #LinphoneParticipant object @notnil
+ * @return the same #LinphoneParticipant object @notnil
  **/
 LINPHONE_PUBLIC LinphoneParticipant *linphone_participant_ref (LinphoneParticipant *participant);
 
 /**
  * Decrement reference count of #LinphoneParticipant object.
+ * @param participant a #LinphoneParticipant object @notnil
  **/
 LINPHONE_PUBLIC void linphone_participant_unref (LinphoneParticipant *participant);
 
 /**
  * Retrieve the user pointer associated with the conference participant.
- * @param[in] participant A #LinphoneParticipant object
- * @return The user pointer associated with the participant.
+ * @param participant A #LinphoneParticipant object @notnil
+ * @return The user pointer associated with the participant. @maybenil
 **/
 LINPHONE_PUBLIC void * linphone_participant_get_user_data(const LinphoneParticipant *participant);
 
 /**
  * Assign a user pointer to the conference participant.
- * @param[in] participant A #LinphoneParticipant object
- * @param[in] ud The user pointer to associate with the participant
+ * @param participant A #LinphoneParticipant object @notnil
+ * @param user_data The user pointer to associate with the participant. @maybenil
 **/
-LINPHONE_PUBLIC void linphone_participant_set_user_data(LinphoneParticipant *participant, void *ud);
+LINPHONE_PUBLIC void linphone_participant_set_user_data(LinphoneParticipant *participant, void *user_data);
 
 /**
  * Get the address of a conference participant.
- * @param[in] participant A #LinphoneParticipant object
- * @return The address of the participant
+ * @param participant A #LinphoneParticipant object @notnil
+ * @return The #LinphoneAddress of the participant @notnil
  */
 LINPHONE_PUBLIC const LinphoneAddress * linphone_participant_get_address (const LinphoneParticipant *participant);
 
 /**
  * Tells whether a conference participant is an administrator of the conference.
- * @param[in] participant A #LinphoneParticipant object
+ * @param participant A #LinphoneParticipant object
  * @return A boolean value telling whether the participant is an administrator
  */
 LINPHONE_PUBLIC bool_t linphone_participant_is_admin (const LinphoneParticipant *participant);
 
 /**
- * Get the security level of a chat room.
- * @param[in] cr A #LinphoneChatRoom object
- * @return The security level of the chat room
+ * Tells whether a conference participant is the focus of the conference.
+ * @param participant A #LinphoneParticipant object
+ * @return A boolean value telling whether the participant is a focus of a conference
+ */
+LINPHONE_PUBLIC bool_t linphone_participant_is_focus (const LinphoneParticipant *participant);
+
+/**
+ * Get the security level of a participant.
+ * @param participant A #LinphoneParticipant object @notnil
+ * @return The #LinphoneChatRoomSecurityLevel of the participant
  */
 LINPHONE_PUBLIC LinphoneChatRoomSecurityLevel linphone_participant_get_security_level (const LinphoneParticipant *participant);
 
 /**
  * Gets the list of devices from a chat room's participant.
- * @param[in] participant A #LinphoneParticipant object
- * @return \bctbx_list{LinphoneParticipantDevice}
+ * @param participant A #LinphoneParticipant object @notnil
+ * @return List of devices. \bctbx_list{LinphoneParticipantDevice} @notnil
  */
 LINPHONE_PUBLIC bctbx_list_t *linphone_participant_get_devices (const LinphoneParticipant *participant);
 
 /**
  * Find a device in the list of devices from a chat room's participant.
- * @param[in] participant A #LinphoneParticipant object
- * @param[in] address A #LinphoneAddress object
- * @return a #LinphoneParticipantDevice or NULL if not found
+ * @param participant A #LinphoneParticipant object @notnil
+ * @param address A #LinphoneAddress object @notnil
+ * @return a #LinphoneParticipantDevice or NULL if not found. @maybenil
  */
 LINPHONE_PUBLIC LinphoneParticipantDevice *linphone_participant_find_device (const LinphoneParticipant *participant, const LinphoneAddress *address);
 
 /**
+ * Get the timestamp of the creation of the participant.
+ * @param participant A #LinphoneParticipant object @notnil
+ * @return time of creation of the participant as returned by time(nullptr). For UNIX based systems it is the number of seconds since 00:00hours of the 1st of January 1970
+ */
+LINPHONE_PUBLIC time_t linphone_participant_get_creation_time(const LinphoneParticipant *participant);
+
+/**
  * @}
  */
 

--
Gitblit v1.8.0