Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
presence_helper_interface.h
Go to the documentation of this file.
1
6#ifndef _PRESENCE_HELPER_INTERFACE_H_
7#define _PRESENCE_HELPER_INTERFACE_H_
8#include "zoom_sdk_def.h"
9
11
40
45{
46public:
52 virtual const zchar_t* GetContactId() = 0;
53
58 virtual const zchar_t* GetContactName() = 0;
59
65
70 virtual const zchar_t* GetProfilePicture() = 0;
71
76 virtual const zchar_t* GetPersonalNote() = 0;
77
82 virtual const zchar_t* GetCompanyName() = 0;
83
88 virtual const zchar_t* GetDepartment() = 0;
89
94 virtual const zchar_t* GetJobTitle() = 0;
95
100 virtual const zchar_t* GetPhoneNumber() = 0;
101
106 virtual const zchar_t* GetEmail() = 0;
107
108 virtual ~IContactInfo(){};
109};
110
115{
116public:
118
123 virtual const zchar_t* GetSenderName() = 0;
124
129 virtual UINT64 GetMeetingNumber() = 0;
130
135 virtual bool IsChannelInvitation() = 0;
136
141 virtual const zchar_t* GetChannelName() = 0;
142
147 virtual UINT64 GetChannelMemberCount() = 0;
148
153 virtual SDKError SetScreenName(const zchar_t* screenName) = 0;
154
158 virtual SDKError Accept() = 0;
159
163 virtual SDKError Decline() = 0;
164
168 virtual SDKError TimeOut() = 0;
169
170};
171
176{
177public:
179
184 virtual void onRequestStarContact(IList<const zchar_t*>* pContactList) = 0;
185
190 virtual void onRequestContactDetailInfo(IList<IContactInfo*>* pContactList) = 0;
191
197 virtual void onContactPresenceChanged(const zchar_t* contactId, SDKPresenceStatus status) = 0;
198
204 virtual void onStarContactListChanged(IList<const zchar_t*>* pContactList,bool bAdd) = 0;
205
211
216 virtual void onMeetingInvitationCanceled(UINT64 meetingNumber) = 0;
217
222 virtual void onMeetingAcceptedByOtherDevice(UINT64 meetingNumber) = 0;
223
228 virtual void onMeetingDeclinedByOtherDevice(UINT64 meetingNumber) = 0;
229
234 virtual void onMeetingInvitationDeclined(const zchar_t* contactId) = 0;
235};
236
238{
239public:
246
254 virtual bool AddContactToList(const zchar_t* contactId) = 0;
255
262
269
276
283};
284
289{
290public:
297
303
309 virtual SDKError AddStarContact(const zchar_t* contactId) = 0;
310
316 virtual SDKError UnStarContact(const zchar_t* contactId) = 0;
317
323 virtual SDKError InviteContact(const zchar_t* contactId) = 0;
324
330
331};
333#endif
virtual SDKError CommitSubscribeContactPresence()=0
Batch subscribe contact presence status according to the prepare list.
virtual SDKError CommitInviteContact()=0
Batch invite contact to join meeting according to the prepare list.
virtual SDKError CreateBatchRequestBegin()=0
Prepare to batch request for contact helper.
virtual SDKError CommitUnSubscribeContactPresence()=0
Batch unsubscribe contact presence status according to the prepare list.
virtual SDKError CommitContactDetailInfoRequest()=0
Batch request contact detail information according to the prepare list.
virtual bool AddContactToList(const zchar_t *contactId)=0
Add the contact ID to a prepared list.
Contact information interface.
virtual const zchar_t * GetEmail()=0
Get the contact's email.
virtual const zchar_t * GetProfilePicture()=0
Get the contact's profile picture.
virtual const zchar_t * GetPersonalNote()=0
Get the contact's personal note.
virtual SDKPresenceStatus GetPresenceStatus()=0
Get the contact's presence status.
virtual const zchar_t * GetJobTitle()=0
Get the contact's job title.
virtual const zchar_t * GetPhoneNumber()=0
Get the contact's phone number.
virtual const zchar_t * GetDepartment()=0
Get the contact's department.
virtual const zchar_t * GetContactId()=0
Get the contact's ID.
virtual const zchar_t * GetCompanyName()=0
Get the contact's company name.
virtual const zchar_t * GetContactName()=0
Get the contact's name.
Process after the user receives the invitation from other user to join meeting.
virtual UINT64 GetMeetingNumber()=0
Get the meeting invite number.
virtual SDKError Decline()=0
Instance to decline the invitation, decline and finally self-destroy.
virtual UINT64 GetChannelMemberCount()=0
Get the channel member count.
virtual SDKError TimeOut()=0
Instance timeout, and finally self-destruct.
virtual SDKError SetScreenName(const zchar_t *screenName)=0
Set the display name in meeting.
virtual const zchar_t * GetChannelName()=0
Get the channel name.
virtual bool IsChannelInvitation()=0
Determine whether this invitation is from a channel.
virtual SDKError Accept()=0
Instance to accept the invitation, join the meeting and finally self-destroy.
virtual const zchar_t * GetSenderName()=0
Get the inviter's name.
Presence helper callback event.
virtual void onMeetingDeclinedByOtherDevice(UINT64 meetingNumber)=0
Callback to decline a meeting invitation on another device.
virtual void onStarContactListChanged(IList< const zchar_t * > *pContactList, bool bAdd)=0
Star contact list changed callback.
virtual void onRequestContactDetailInfo(IList< IContactInfo * > *pContactList)=0
Request contact detail information list callback.
virtual void onMeetingAcceptedByOtherDevice(UINT64 meetingNumber)=0
Callback to accept a meeting invitation on another device.
virtual void onContactPresenceChanged(const zchar_t *contactId, SDKPresenceStatus status)=0
Contact presence changed callback.
virtual void onRequestStarContact(IList< const zchar_t * > *pContactList)=0
Request star contact ID list callback.
virtual void onMeetingInvitationCanceled(UINT64 meetingNumber)=0
Callback for the meeting invitation canceled by the inviter.
virtual void onReceiveInvitationToMeeting(IInvitationMeetingHandler *handler)=0
Receive meeting invitation callback.
virtual void onMeetingInvitationDeclined(const zchar_t *contactId)=0
Callback to decline a meeting invitation.
Presence Helper Interface.
virtual SDKError UnStarContact(const zchar_t *contactId)=0
Send a request to remove the contact ID from starred contact list.
virtual SDKError InviteContact(const zchar_t *contactId)=0
Send an invitation to a contact to join a meeting.
virtual SDKError AddStarContact(const zchar_t *contactId)=0
Send a request to add the contact ID to the starred contact list.
virtual IBatchRequestContactHelper * GetBatchRequestContactHelper()=0
Get the Batch request contact controller.
virtual SDKError SetEvent(IPresenceHelperEvent *pEvent)=0
Set the presence helper callback event handler.
virtual SDKError RequestStarContact()=0
Send a request to get the starred contact ids.
SDKPresenceStatus
Enumeration of user's presence status. For more information, please visit https://support....
@ SDKPresenceStatus_PhoneCall
@ SDKPresenceStatus_Calendar
@ SDKPresenceStatus_InMeeting
@ SDKPresenceStatus_Available
@ SDKPresenceStatus_Away
@ SDKPresenceStatus_Presenting
@ SDKPresenceStatus_Busy
@ SDKPresenceStatus_UnAvailable
@ SDKPresenceStatus_DoNotDisturb
@ SDKPresenceStatus_None
@ SDKPresenceStatus_OutOfOffice
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
wchar_t zchar_t
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.