Linux SDK 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
13{
25};
26
30{
31public:
34 virtual const zchar_t* GetContactId() = 0;
35
38 virtual const zchar_t* GetContactName() = 0;
39
44
47 virtual const zchar_t* GetProfilePicture() = 0;
48
51 virtual const zchar_t* GetPersonalNote() = 0;
52
55 virtual const zchar_t* GetCompanyName() = 0;
56
59 virtual const zchar_t* GetDepartment() = 0;
60
63 virtual const zchar_t* GetJobTitle() = 0;
64
67 virtual const zchar_t* GetPhoneNumber() = 0;
68
71 virtual const zchar_t* GetEmail() = 0;
72
73 virtual ~IContactInfo(){};
74};
75
78{
79public:
81
84 virtual const zchar_t* GetSenderName() = 0;
85
88 virtual UINT64 GetMeetingNumber() = 0;
89
92 virtual bool IsChannelInvitation() = 0;
93
96 virtual const zchar_t* GetChannelName() = 0;
97
101
104 virtual SDKError SetScreenName(const zchar_t* screenName) = 0;
105
107 virtual SDKError Accept() = 0;
108
110 virtual SDKError Decline() = 0;
111
113 virtual SDKError TimeOut() = 0;
114
115};
116
120{
121public:
123
126 virtual void onRequestStarContact(IList<const zchar_t*>* pContactList) = 0;
127
130 virtual void onRequestContactDetailInfo(IList<IContactInfo*>* pContactList) = 0;
131
135 virtual void onContactPresenceChanged(const zchar_t* contactId, SDKPresenceStatus status) = 0;
136
140 virtual void onStarContactListChanged(IList<const zchar_t*>* pContactList,bool bAdd) = 0;
141
145
148 virtual void onMeetingInvitationCanceled(UINT64 meetingNumber) = 0;
149
152 virtual void onMeetingAcceptedByOtherDevice(UINT64 meetingNumber) = 0;
153
156 virtual void onMeetingDeclinedByOtherDevice(UINT64 meetingNumber) = 0;
157
160 virtual void onMeetingInvitationDeclined(const zchar_t* contactId) = 0;
161
162};
163
165{
166public:
172
178 virtual bool AddContactToList(const zchar_t* contactId) = 0;
179
185
192
198
204};
205
209{
210public:
216
221
226 virtual SDKError AddStarContact(const zchar_t* contactId) = 0;
227
232 virtual SDKError UnStarContact(const zchar_t* contactId) = 0;
233
238 virtual SDKError InviteContact(const zchar_t* contactId) = 0;
239
243
244};
246#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.
Presence 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. \contactId The ID of the contact who declines the invitatio...
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_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
Definition: zoom_sdk_def.h:36
uint64_t UINT64
Definition: zoom_sdk_def.h:18
#define BEGIN_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:35
char zchar_t
Definition: zoom_sdk_def.h:17
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:45