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-search-result.h | 42 +++++++++++++++++++++++++++++------------- 1 files changed, 29 insertions(+), 13 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-search-result.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-search-result.h old mode 100644 new mode 100755 index 7e7f246..63cf395 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-search-result.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-search-result.h @@ -33,43 +33,59 @@ /** * Increment reference count of LinphoneSearchResult object. + * @param search_result the #LinphoneSearchResult object @notnil + * @return the same #LinphoneSearchResult object @notnil **/ -LINPHONE_PUBLIC LinphoneSearchResult *linphone_search_result_ref(LinphoneSearchResult *searchResult); +LINPHONE_PUBLIC LinphoneSearchResult *linphone_search_result_ref(LinphoneSearchResult *search_result); /** * Decrement reference count of LinphoneSearchResult object. When dropped to zero, memory is freed. + * @param search_result the #LinphoneSearchResult object @notnil **/ -LINPHONE_PUBLIC void linphone_search_result_unref(LinphoneSearchResult *searchResult); +LINPHONE_PUBLIC void linphone_search_result_unref(LinphoneSearchResult *search_result); /** - * @return LinphoneFriend associed + * Gets the friend of the search result if any. + * @param search_result the #LinphoneSearchResult object @notnil + * @return The associated #LinphoneFriend or NULL. @maybenil **/ -LINPHONE_PUBLIC const LinphoneFriend* linphone_search_result_get_friend(const LinphoneSearchResult *searchResult); +LINPHONE_PUBLIC const LinphoneFriend* linphone_search_result_get_friend(const LinphoneSearchResult *search_result); /** - * @return LinphoneAddress associed + * Gets the address of the search result if any. + * @param search_result the #LinphoneSearchResult object @notnil + * @return The associed #LinphoneAddress or NULL. @maybenil **/ -LINPHONE_PUBLIC const LinphoneAddress* linphone_search_result_get_address(const LinphoneSearchResult *searchResult); +LINPHONE_PUBLIC const LinphoneAddress* linphone_search_result_get_address(const LinphoneSearchResult *search_result); /** - * @return Phone Number associed + * Gets the phone number of the search result if any. + * @param search_result the #LinphoneSearchResult object @notnil + * @return The associed phone number or NULL. @maybenil **/ -LINPHONE_PUBLIC const char* linphone_search_result_get_phone_number(const LinphoneSearchResult *searchResult); +LINPHONE_PUBLIC const char* linphone_search_result_get_phone_number(const LinphoneSearchResult *search_result); /** - * @return the capabilities associated to the search result + * Returns the capabilities mask of the search result. + * @param search_result the #LinphoneSearchResult object @notnil + * @return the capabilities mask associated to the search result **/ -LINPHONE_PUBLIC int linphone_search_result_get_capabilities(const LinphoneSearchResult *searchResult); +LINPHONE_PUBLIC int linphone_search_result_get_capabilities(const LinphoneSearchResult *search_result); /** - * @return whether a search result has a given capability + * Returns whether or not the search result has the given capability + * @param search_result the #LinphoneSearchResult object @notnil + * @param capability the #LinphoneFriendCapability to check + * @return TRUE if it has the capability, FALSE otherwise. **/ -LINPHONE_PUBLIC bool_t linphone_search_result_has_capability(const LinphoneSearchResult *searchResult, const LinphoneFriendCapability capability); +LINPHONE_PUBLIC bool_t linphone_search_result_has_capability(const LinphoneSearchResult *search_result, const LinphoneFriendCapability capability); /** + * Gets the weight of the search result. + * @param search_result the #LinphoneSearchResult object @notnil * @return the result weight **/ -LINPHONE_PUBLIC unsigned int linphone_search_result_get_weight(const LinphoneSearchResult *searchResult); +LINPHONE_PUBLIC unsigned int linphone_search_result_get_weight(const LinphoneSearchResult *search_result); /** * @} -- Gitblit v1.8.0