Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKApproveSendQueryHandler Class Reference

Handler to approve or decline the send query request. More...

#include <ZoomSDKAICompanionQueryHelper.h>

Inherits NSObject.

Instance Methods

(ZoomSDKError- approve
 Approve the request.
(ZoomSDKError- decline:
 Decline the request.

Properties

unsigned int senderUserID
 Gets the requester's user ID.
NSString * requesterUserName
 Gets the requester's user name.

Detailed Description

Handler to approve or decline the send query request.

Definition at line 205 of file ZoomSDKAICompanionQueryHelper.h.

Method Documentation

◆ approve

- (ZoomSDKError) approve

Approve the request.

Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

References approve.

Referenced by approve.

◆ decline:

- (ZoomSDKError) decline: (BOOL) declineAll

Decline the request.

Parameters
declineAllYES to decline all request, NO otherwise.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

Property Documentation

◆ requesterUserName

- (NSString*) requesterUserName
readnonatomiccopy

Gets the requester's user name.

Note
This value is always valid, even when senderUserID returns 0.

Definition at line 217 of file ZoomSDKAICompanionQueryHelper.h.

◆ senderUserID

- (unsigned int) senderUserID
readnonatomicassign

Gets the requester's user ID.

Note
Returns 0 when the requester is from a user in the main meeting who is not in the host's local participant cache (e.g., a participant in the main meeting requesting while the host is in a breakout room). In this case, use requesterUserName to obtain the requester's display name.

Definition at line 212 of file ZoomSDKAICompanionQueryHelper.h.