Polling controller callback event.
More...
#include <ZoomSDKPollingController.h>
Inherits <NSObjectNSObject>.
|
(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.
|
|
Polling controller callback event.
Definition at line 238 of file ZoomSDKPollingController.h.
◆ 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
-
pollingID | Specify the polling ID. |
elapsedTime | Specify 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
-
bCan | Specify 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
-
actionType | Specify the action type. For more details. see ZoomSDKPollingActionType. |
pollingID | Specify the action poll's ID. |
bSuccess | Specify whether the action succeeds. |
errorMsg | Specify 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
-
questionID | Specify the polling question's ID. |
path | Specify the image downloaded path. |
◆ onPollingResultUpdated:
- (void) onPollingResultUpdated: |
|
(NSString *) | pollingID |
|
|
optionalrequired |
Polling result updated callback. When a participant submit polling.
- Parameters
-
pollingID | Specify the result updated poll's ID. |
◆ onPollingStatusChanged:status:
Polling status changed callback. Use this function to inform the user that the polling has been started, share result or stopped.
- Parameters
-
pollingID | Specify the status changed poll's ID. |
status | Specify current polling status. For more details. see ZoomSDKPollingStatus. |