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

Handler to approve or decline the start 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 start query request.

Definition at line 173 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

Decline the request.

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

References decline.

Referenced by decline.

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 185 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 180 of file ZoomSDKAICompanionQueryHelper.h.