Callback events for Q&A controller.
More...
#include <ZoomSDKQAController.h>
Inherits <NSObjectNSObject>.
Callback events for Q&A controller.
Definition at line 173 of file ZoomSDKQAController.h.
◆ onAddAnswer:isSuccess:
| - (void) onAddAnswer: |
|
(NSString *) | answerID |
| isSuccess: |
|
(BOOL) | success |
If add answer receives the callback.
- Parameters
-
| answerID | The unique ID of answer. |
| success | If the success is YES means add answer success, NO otherwise. |
◆ onAddQuestion:isSuccess:
| - (void) onAddQuestion: |
|
(NSString *) | questionID |
| isSuccess: |
|
(BOOL) | success |
If add question receives the callback.
- Parameters
-
| questionID | The unique ID of question. |
| success | If the success is YES imeans add question success, NO otherwise. |
◆ onAllowAskQuestionAnonymousStatus:
| - (void) onAllowAskQuestionAnonymousStatus: |
|
(BOOL) | bEnabled |
|
Notify host or cohost has changed the status of ask question anonymous.
- Parameters
-
| bEnabled | Can ask question anonymous or not. |
◆ onAllowAskQuestionStatus:
| - (void) onAllowAskQuestionStatus: |
|
(BOOL) | bEnabled |
|
Notify host or cohost has changed the status of ask question.
- Parameters
-
| bEnabled | Can ask question or not. |
◆ onAllowAttendeeCommentQuestionStatus:
| - (void) onAllowAttendeeCommentQuestionStatus: |
|
(BOOL) | bEnabled |
|
Notify host or cohost has change the status of attendee comment question.
- Parameters
-
| bEnabled | Attendee can comment question. |
◆ onAllowAttendeeViewAllQuestionStatus:
| - (void) onAllowAttendeeViewAllQuestionStatus: |
|
(BOOL) | bEnabled |
|
Notify host or cohost has changed the status of attendee can view all question.
- Parameters
-
| bEnabled | Attendee can aview all question or not. |
◆ onAllowAttendeeVoteupQuestionStatus:
| - (void) onAllowAttendeeVoteupQuestionStatus: |
|
(BOOL) | bEnabled |
|
Notify host or cohost has change the status of attendee can voteup question.
- Parameters
-
| bEnabled | Attendee can ask voteup question or not. |
◆ onDeleteAnswers:
| - (void) onDeleteAnswers: |
|
(NSArray *) | answer |
|
Notify the answer has been deleted.
- Parameters
-
| answer | The array contain deleted answer ID (The answer ID is NSString type). |
◆ onDeleteQuestions:
| - (void) onDeleteQuestions: |
|
(NSArray *) | questions |
|
Notify the question has been deleted.
- Parameters
-
| questions | The array contain deleted question ID (The question ID is NSString type). |
◆ onQAConnectStatus:
This callback returns the connect status.
- Parameters
-
| status | The Q&A connect status. |
◆ onQuestionMarkedAsDismissed:
| - (void) onQuestionMarkedAsDismissed: |
|
(NSString *) | questionID |
|
If the question marked as dismiss receives the callback.
- Parameters
-
| questionID | The question's unique ID marked as dismissed. |
◆ onReceiveAnswer:
| - (void) onReceiveAnswer: |
|
(NSString *_Nullable) | answerID |
|
If receive answer receives the callback.
- Parameters
-
| answerID | The receive answer ID. |
◆ onReceiveQuestion:
| - (void) onReceiveQuestion: |
|
(NSString *_Nullable) | questionID |
|
If receive question receives the callback.
- Parameters
-
| questionID | The receive question ID. |
◆ onReopenQuestion:
| - (void) onReopenQuestion: |
|
(NSString *) | questionID |
|
If reopen question receives the callback.
- Parameters
-
| questionID | The reopen question ID. |
◆ onRevokeVoteupQuestion:orderChanged:
| - (void) onRevokeVoteupQuestion: |
|
(NSString *) | questionID |
| orderChanged: |
|
(BOOL) | isChanged |
If revoke vote queation receives the callback.
- Parameters
-
| questionID | The revoke vote question ID. |
| isChanged | If YES means the question order changed, NO otherwise. |
◆ onUserEndLiving:
| - (void) onUserEndLiving: |
|
(NSString *) | questionID |
|
If user end living receives the callback.
- Parameters
-
| questionID | The user end living questionID. |
◆ onUserLivingReply:
| - (void) onUserLivingReply: |
|
(NSString *) | questionID |
|
If user living reply receives the callback.
- Parameters
-
| questionID | The user living reply questionID. |
◆ onVoteupQuestion:orderChanged:
| - (void) onVoteupQuestion: |
|
(NSString *) | questionID |
| orderChanged: |
|
(BOOL) | isChanged |
If vote queation receives the callback.
- Parameters
-
| questionID | The vote questionID. |
| isChanged | If YES means the question order changed, NO otherwise. |