NEMeetingKit V4.9.0
载入中...
搜索中...
未找到
kit_service_contacts.h
浏览该文件的文档.
1// Copyright (c) 2022 NetEase, Inc. All rights reserved.
2// Use of this source code is governed by a MIT license that can be
3// found in the LICENSE file.
4
13#ifndef NEM_SDK_INTERFACE_INTERFACE_CONTACTS_SERVICE_H_
14#define NEM_SDK_INTERFACE_INTERFACE_CONTACTS_SERVICE_H_
15
16#include <list>
17#include "kit_define_contacts.h"
18#include "kit_service_define.h"
19
21
26public:
29
38 virtual void searchContactListByPhoneNumber(const std::string& phoneNumber, int pageSize, int pageNum, const NEContactsCallback& callback) = 0;
39
48 virtual void searchContactListByName(const std::string& name, int pageSize, int pageNum, const NEContactsCallback& callback) = 0;
49
56 virtual void getContactsInfo(const std::list<std::string>& userUuids, const NEContactsInfoResultCallback& callback) = 0;
57
58};
59
61#endif // NEM_SDK_INTERFACE_INTERFACE_CONTACTS_SERVICE_H_
#define NNEM_SDK_INTERFACE_BEGIN_DECLS
定义 build_config.h:16
#define NNEM_SDK_INTERFACE_END_DECLS
定义 build_config.h:17
消息服务
定义 kit_service_contacts.h:25
virtual void getContactsInfo(const std::list< std::string > &userUuids, const NEContactsInfoResultCallback &callback)=0
通讯录用户信息查询
NECallback< std::list< NEContact > > NEContactsCallback
定义 kit_service_contacts.h:27
NECallback< NEContactsInfoResult > NEContactsInfoResultCallback
定义 kit_service_contacts.h:28
virtual void searchContactListByPhoneNumber(const std::string &phoneNumber, int pageSize, int pageNum, const NEContactsCallback &callback)=0
根据电话号码进行企业通讯录模糊搜索
virtual void searchContactListByName(const std::string &name, int pageSize, int pageNum, const NEContactsCallback &callback)=0
根据用户名进行企业通讯录模糊搜索
公共服务
定义 kit_service_define.h:23
std::function< void(MeetingErrorCode, const std::string &, const TResultParam &...)> NECallback
定义 kit_define_callback.h:25
通讯头文件
#define NEM_SDK_INTERFACE_EXPORT
定义 kit_interface_export.h:35
公共服务定义头文件