Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
<ZoomSDKPollingControllerDelegate> Protocol Reference

Polling controller callback event. More...

#include <ZoomSDKPollingController.h>

Inherits <NSObjectNSObject>.

Instance Methods

(void) - onPollingStatusChanged:status:
 Polling status changed callback. Use this function to inform the user that the polling has been started, share result or stopped.
 
(void) - onPollingResultUpdated:
 Polling result updated callback. When a participant submit polling.
 
(void) - onPollingListUpdated
 Polling list updated callback. This is triggered when a host adds, edits, duplicates, or deletes a poll.
 
(void) - onPollingActionResult:pollingID:bSuccess:errorMsg:
 Polling action result callback. This is triggered when a user perform an action for a poll.
 
(void) - onPollingQuestionImageDownloaded:path:
 Polling question item image downloaded callback. This is triggered when a user starts or joins a meeting, if any polling question has an image, or the host uploads an image to a polling question in the meeting.
 
(void) - onGetPollingElapsedTime:elapsedTime:
 Polling elapsed time callback. This is triggered when a host starts a poll or user changes to host from non host.
 
(void) - onGetRightAnswerListPrivilege:
 Callback event for the user get right answer list privilege changed. This is triggered when the host calls EnableGetRightAnswerList in a quiz.
 
(void) - onPollingInactive
 Polling inactive callback. When the user starts a meeting in another device by same account, this callback is triggered. Then call CanDoPolling return false.
 

Detailed Description

Polling controller callback event.

Definition at line 238 of file ZoomSDKPollingController.h.

Method Documentation

◆ onGetPollingElapsedTime:elapsedTime:

- (void) onGetPollingElapsedTime: (NSString *) pollingID
elapsedTime: (unsigned int) elapsedTime 
optionalrequired

Polling elapsed time callback. This is triggered when a host starts a poll or user changes to host from non host.

Parameters
pollingIDSpecify the polling ID.
elapsedTimeSpecify the polling elapsed time in milliseconds.

◆ onGetRightAnswerListPrivilege:

- (void) onGetRightAnswerListPrivilege: (BOOL) bCan
optionalrequired

Callback event for the user get right answer list privilege changed. This is triggered when the host calls EnableGetRightAnswerList in a quiz.

Parameters
bCanSpecify whether the user has get right answer list privilege or not.

◆ onPollingActionResult:pollingID:bSuccess:errorMsg:

- (void) onPollingActionResult: (ZoomSDKPollingActionType) actionType
pollingID: (NSString *) pollingID
bSuccess: (BOOL) bSuccess
errorMsg: (NSString *_Nullable) errorMsg 
optionalrequired

Polling action result callback. This is triggered when a user perform an action for a poll.

Parameters
actionTypeSpecify the action type. For more details. see ZoomSDKPollingActionType.
pollingIDSpecify the action poll's ID.
bSuccessSpecify whether the action succeeds.
errorMsgSpecify the error message when the action fails. It is only for ZoomSDKPollingActionType_Error.
Note
If actionType is ZoomSDKPollingActionType_Error, use errorMsg. This errorMsg may be triggered by any action.

◆ onPollingInactive

- (void) onPollingInactive
optionalrequired

Polling inactive callback. When the user starts a meeting in another device by same account, this callback is triggered. Then call CanDoPolling return false.

◆ onPollingListUpdated

- (void) onPollingListUpdated
optionalrequired

Polling list updated callback. This is triggered when a host adds, edits, duplicates, or deletes a poll.

◆ onPollingQuestionImageDownloaded:path:

- (void) onPollingQuestionImageDownloaded: (NSString *) questionID
path: (NSString *) path 
optionalrequired

Polling question item image downloaded callback. This is triggered when a user starts or joins a meeting, if any polling question has an image, or the host uploads an image to a polling question in the meeting.

Parameters
questionIDSpecify the polling question's ID.
pathSpecify the image downloaded path.

◆ onPollingResultUpdated:

- (void) onPollingResultUpdated: (NSString *) pollingID
optionalrequired

Polling result updated callback. When a participant submit polling.

Parameters
pollingIDSpecify the result updated poll's ID.

◆ onPollingStatusChanged:status:

- (void) onPollingStatusChanged: (NSString *) pollingID
status: (ZoomSDKPollingStatus) status 
optional

Polling status changed callback. Use this function to inform the user that the polling has been started, share result or stopped.

Parameters
pollingIDSpecify the status changed poll's ID.
statusSpecify current polling status. For more details. see ZoomSDKPollingStatus.