Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
IPresenceHelper Class Referenceabstract

Presence Helper Interface. More...

#include <presence_helper_interface.h>

Public Member Functions

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.
 
virtual SDKError AddStarContact (const zchar_t *contactId)=0
 Send a request to add the contact ID to the starred contact list.
 
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 IBatchRequestContactHelperGetBatchRequestContactHelper ()=0
 Get the Batch request contact controller.
 

Detailed Description

Presence Helper Interface.

Definition at line 288 of file presence_helper_interface.h.

Member Function Documentation

◆ AddStarContact()

virtual SDKError IPresenceHelper::AddStarContact ( const zchar_t * contactId)
pure virtual

Send a request to add the contact ID to the starred contact list.

Parameters
contactIdThe contact ID.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. For detailed error codes, see the SDKError enum.

◆ GetBatchRequestContactHelper()

virtual IBatchRequestContactHelper * IPresenceHelper::GetBatchRequestContactHelper ( )
pure virtual

Get the Batch request contact controller.

Returns
If the function succeeds, the return value is a pointer to IBatchRequestContactHelper. Otherwise the function fails and returns nullptr.

◆ InviteContact()

virtual SDKError IPresenceHelper::InviteContact ( const zchar_t * contactId)
pure virtual

Send an invitation to a contact to join a meeting.

Parameters
contactIdThe contact ID.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. For detailed error codes, see the SDKError enum.

◆ RequestStarContact()

virtual SDKError IPresenceHelper::RequestStarContact ( )
pure virtual

Send a request to get the starred contact ids.

Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. For detailed error codes, see the SDKError enum.

◆ SetEvent()

virtual SDKError IPresenceHelper::SetEvent ( IPresenceHelperEvent * pEvent)
pure virtual

Set the presence helper callback event handler.

Parameters
pEventA pointer to receive presence helper event.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. For detailed error codes, see the SDKError enum.

◆ UnStarContact()

virtual SDKError IPresenceHelper::UnStarContact ( const zchar_t * contactId)
pure virtual

Send a request to remove the contact ID from starred contact list.

Parameters
contactIdThe contact ID.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. For detailed error codes, see the SDKError enum.