Meeting SDK for Linux API Reference
Loading...
Searching...
No Matches
IMeetingApproveSendQueryHandler Class Referenceabstract

The handler to approve send query. More...

#include <meeting_ai_companion_interface.h>

Public Member Functions

virtual ~IMeetingApproveSendQueryHandler ()
virtual unsigned int GetSenderUserID ()=0
 Gets the requester's user ID.
virtual const zchar_tGetRequestUserName ()=0
 Gets the requester's user name..
virtual SDKError Approve ()=0
 Approve the request.
virtual SDKError Decline (bool bDeclineAll)=0
 Decline the request.

Detailed Description

The handler to approve send query.

Definition at line 698 of file meeting_ai_companion_interface.h.

Constructor & Destructor Documentation

◆ ~IMeetingApproveSendQueryHandler()

virtual IMeetingApproveSendQueryHandler::~IMeetingApproveSendQueryHandler ( )
inlinevirtual

Definition at line 701 of file meeting_ai_companion_interface.h.

701{}

Member Function Documentation

◆ Approve()

virtual SDKError IMeetingApproveSendQueryHandler::Approve ( )
pure virtual

Approve the request.

Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ Decline()

virtual SDKError IMeetingApproveSendQueryHandler::Decline ( bool bDeclineAll)
pure virtual

Decline the request.

Parameters
bDeclineAlltrue indicates decline all requests.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ GetRequestUserName()

virtual const zchar_t * IMeetingApproveSendQueryHandler::GetRequestUserName ( )
pure virtual

Gets the requester's user name..

Note
This value is always valid, even when GetSenderUserID() returns 0.
Returns
The user name of the requester.

◆ GetSenderUserID()

virtual unsigned int IMeetingApproveSendQueryHandler::GetSenderUserID ( )
pure virtual

Gets the requester's user ID.

Note
This value may return 0 in some cross-context scenarios such as when the host is in a breakout room, or when the requester is not in the host's local participant cache. In this case, use GetRequestUserName() to obtain the requester's display name.
Returns
The requester's user ID, or 0 if the requester is from the main meeting.