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-device.h |   45 ++++++++++++++++++++++++++++++++-------------
 1 files changed, 32 insertions(+), 13 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-participant-device.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-participant-device.h
old mode 100644
new mode 100755
index 539dcb4..6dcd32e
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-participant-device.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-participant-device.h
@@ -20,6 +20,8 @@
 #ifndef _L_C_PARTICIPANT_DEVICE_H_
 #define _L_C_PARTICIPANT_DEVICE_H_
 
+#include "time.h"
+
 #include "linphone/api/c-types.h"
 
 // =============================================================================
@@ -35,48 +37,65 @@
 
 /**
  * Increment reference count of #LinphoneParticipantDevice object.
+ * @param participant_device the #LinphoneParticipantDevice object @notnil
+ * @return the same #LinphoneParticipantDevice object @notnil
  **/
 LINPHONE_PUBLIC LinphoneParticipantDevice *linphone_participant_device_ref (LinphoneParticipantDevice *participant_device);
 
 /**
  * Decrement reference count of #LinphoneParticipantDevice object.
+ * @param participant_device the #LinphoneParticipantDevice object @notnil
  **/
 LINPHONE_PUBLIC void linphone_participant_device_unref (LinphoneParticipantDevice *participant_device);
 
 /**
  * Retrieve the user pointer associated with the participant's device.
- * @param[in] participant_device A #LinphoneParticipantDevice object
- * @return The user pointer associated with the participant's device.
+ * @param participant_device A #LinphoneParticipantDevice object @notnil
+ * @return The user pointer associated with the participant's device. @maybenil
 **/
 LINPHONE_PUBLIC void * linphone_participant_device_get_user_data(const LinphoneParticipantDevice *participant_device);
 
 /**
  * Assign a user pointer to the participant's device.
- * @param[in] participant_device A #LinphoneParticipantDevice object
- * @param[in] ud The user pointer to associate with the participant's device
+ * @param participant_device A #LinphoneParticipantDevice object @notnil
+ * @param user_data The user pointer to associate with the participant's device. @maybenil
 **/
-LINPHONE_PUBLIC void linphone_participant_device_set_user_data(LinphoneParticipantDevice *participant_device, void *ud);
+LINPHONE_PUBLIC void linphone_participant_device_set_user_data(LinphoneParticipantDevice *participant_device, void *user_data);
 
 /**
  * Get the address of a participant's device.
- * @param[in] participant_device A #LinphoneParticipantDevice object
- * @return The address of the participant's device
+ * @param participant_device A #LinphoneParticipantDevice object @notnil
+ * @return The #LinphoneAddress of the participant's device @notnil
  */
-LINPHONE_PUBLIC const LinphoneAddress * linphone_participant_device_get_address (const LinphoneParticipantDevice *participant_device);
+LINPHONE_PUBLIC const LinphoneAddress* linphone_participant_device_get_address (const LinphoneParticipantDevice *participant_device);
 
 /**
  * Get the security level of a participant's device.
- * @param[in] participant_device A #LinphoneParticipantDevice object
- * @return The security level of the device
+ * @param participant_device A #LinphoneParticipantDevice object @notnil
+ * @return The #LinphoneChatRoomSecurityLevel of the device
 */
 LINPHONE_PUBLIC LinphoneChatRoomSecurityLevel linphone_participant_device_get_security_level (const LinphoneParticipantDevice *participant_device);
 
 /**
  * Return the name of the device or NULL.
- * @param[in] participant_device A #LinphoneParticipantDevice object
- * @return the name of the device or NULL
+ * @param participant_device A #LinphoneParticipantDevice object @notnil
+ * @return the name of the device or NULL. @maybenil
  */
-LINPHONE_PUBLIC const char *linphone_participant_device_get_name (const LinphoneParticipantDevice *LinphoneParticipantDevice);
+LINPHONE_PUBLIC const char *linphone_participant_device_get_name (const LinphoneParticipantDevice *participant_device);
+
+/**
+ * Return whether the participant device is in a conference or not.
+ * @param participant_device A #LinphoneParticipantDevice object @notnil
+ * @return a boolean to state whether the device is in a conference
+ */
+LINPHONE_PUBLIC bool_t linphone_participant_device_is_in_conference (const LinphoneParticipantDevice *participant_device);
+
+/**
+ * Get the timestamp the device joined a conference.
+ * @param participant A #LinphoneParticipantDevice object @notnil
+ * @return time of joining a conference 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_device_get_time_of_joining(const LinphoneParticipantDevice *participant_device);
 
 /**
  * @}

--
Gitblit v1.8.0