Meeting SDK for Android API Reference
Loading...
Searching...
No Matches
InMeetingQAController.java
Go to the documentation of this file.
1package us.zoom.sdk;
2
3import java.util.List;
4
5import us.zoom.core.interfaces.IListener;
6
10public interface InMeetingQAController {
11
15 interface InMeetingQAListener extends IListener {
16
23
29 void onAllowAskQuestionStatus(boolean bEnabled);
30
35
42
49
56
63
69 void onQAConnected(boolean connected);
70
77 void onAddQuestion(String questionId, boolean success);
78
85 void onAddAnswer(String answerID, boolean success);
86
92 void onReceiveQuestion(String questionID);
93
99 void onReceiveAnswer(String answerID);
100
101
107 void onQuestionMarkedAsDismissed(String questionId);
108
114 void onReopenQuestion(String questionId);
115
121 void onUserLivingReply(String questionID);
122
128 void onUserEndLiving(String questionID);
129
136 void onUpvoteQuestion(String questionID, boolean order_changed);
137
144 void onRevokeUpvoteQuestion(String questionID, boolean order_changed);
145
150 void onDeleteQuestion(List<String> questionList);
151
156 void onDeleteAnswer(List<String> answerList);
157 }
158
165
172
180
187
193 boolean isQAEnabled();
194
201
209
216
222 List<IQAItemInfo> getAllQuestionList();
223
225
231 List<IQAItemInfo> getMyQuestionList();
232
234
240 List<IQAItemInfo> getOpenQuestionList();
241
243
245
251 List<IQAItemInfo> getDismissedQuestionList();
252
258 List<IQAItemInfo> getAnsweredQuestionList();
259
260
267
275 boolean enableAnonymousQuestion(boolean enable);
276
283
291 boolean enableAttendeeViewAllQuestion(boolean enable);
292
299
307 boolean enableQAVoteup(boolean enable);
308
309
317
325 boolean enableQAComment(boolean enable);
326
327
335 boolean addQuestion(String content, boolean bAnonymously);
336
337
346 boolean answerQuestionPrivate(String questionID, String content);
347
356 boolean answerQuestionPublic(String questionID, String content);
357
365 boolean dismissQuestion(String questionID);
366
374 boolean reopenQuestion(String questionID);
375
383 boolean commentQuestion(String questionID, String content);
384
392 boolean voteupQuestion(String questionID, boolean isUpVote);
393
400 boolean startLiving(String questionId);
401
408 boolean endLiving(String questionId);
409
416 IQAItemInfo getQuestion(String questionId);
417
424 IAnswerItem getAnswer(String answerID);
425
432 boolean deleteQuestion(String questionID);
433
440 boolean deleteAnswer(String answerID);
441
448
461}
Enumeration of common errors of SDK.
void onUpvoteQuestion(String questionID, boolean order_changed)
Upvote Question callback.
void onUserLivingReply(String questionID)
User Living Reply callback.
void onAllowAskQuestionAnonymousStatus(boolean enable)
Callback event of the permission that user is allowed to ask questions anonymously is changed.
void onAddAnswer(String answerID, boolean success)
add a new answer callback
void onQAConnectStarted()
The function will be invoked once QA listener starts to connect.
void onDeleteQuestion(List< String > questionList)
Revoke Question deleted callback.
void onQAConnected(boolean connected)
The function will be invoked once QA listener connected or disconnected.
void onUserEndLiving(String questionID)
User end Living Reply callback.
void onAllowAttendeeViewAllQuestionStatus(boolean enable)
Callback event of the permission that attendee is allowed to view all questions is changed.
void onAllowAttendeeCommentQuestionStatus(boolean enable)
Callback event of the permission that user is allowed to answer questions is changed.
void onReopenQuestion(String questionId)
Question reopen callback.
void onDeleteAnswer(List< String > answerList)
Revoke answer deleted callback.
void onQuestionMarkedAsDismissed(String questionId)
Question marked as dismiss.
void onRevokeUpvoteQuestion(String questionID, boolean order_changed)
Revoke Upvote Question callback.
void onReceiveQuestion(String questionID)
The function will be invoked once a new question is received.
void onMeetingQAStatusChanged(boolean isMeetingQAFeatureOn)
Callback event of meeting QA feature status changes.
void onAddQuestion(String questionId, boolean success)
add a new question callback
void onReceiveAnswer(String answerID)
The function will be invoked once a new answer is received.
void onAllowAttendeeVoteupQuestionStatus(boolean enable)
Callback event of the permission that attendee is allowed to submit questions is changed.
void onAllowAskQuestionStatus(boolean bEnabled)
Notify host/cohost has changed the status of ask question.
Question and answer(QA) controller in webinar.
boolean isQALegalNoticeAvailable()
Whether QA legal notice is available.
String getQALegalNoticesExplained()
Return explained text for QA legal notice.
boolean addQuestion(String content, boolean bAnonymously)
Add Question.
List< IQAItemInfo > getAllQuestionList()
Get all questions include open answered dismissed.
boolean answerQuestionPublic(String questionID, String content)
Answer question in public. Only meeting host/co-host/panelist can run the function.
boolean isQACommentEnabled()
Allow attendee to answer question. Query if attendee is allowed to answer questions.
boolean enableAnonymousQuestion(boolean enable)
Set if it is enabled to ask questions anonymously. Only meeting host/co-host can run the function.
boolean answerQuestionPrivate(String questionID, String content)
Answer question in private. Only meeting host/co-host/panelist can run the function.
boolean dismissQuestion(String questionID)
Dismiss question Only meeting host/co-host/panelist can run the function.
boolean enableQAComment(boolean enable)
Allow attendee to answer question. Only meeting host/co-host can run the function.
boolean commentQuestion(String questionID, String content)
Attendee answer Question.
boolean isMeetingQAFeatureOn()
Query if meeting QA feature is enabled in current meeting.
boolean reopenQuestion(String questionID)
reopen question Only meeting host/co-host/panelist can run the function.
IAnswerItem getAnswer(String answerID)
Get answer item by answer id.
String getQALegalNoticesPrompt()
Return QA legal notice prompt.
boolean isAskQuestionEnabled()
Determine if the ask question is allowed by the host/co-host.
IQAItemInfo getQuestion(String questionId)
Get question by question id.
boolean isQAEnabled()
Query if QA is enabled.
MobileRTCSDKError enableMeetingQAFeature(boolean enable)
Set to enable/disable meeting QA.
void removeQAListener(InMeetingQAListener listener)
Unregister the listener.
boolean isAttendeeCanViewAllQuestions()
Query if attendee is allowed to view all question.
MobileRTCSDKError enableAskQuestion(boolean enable)
Set attendee can ask question.
boolean startLiving(String questionId)
Start answer question living.
boolean isQAVoteupEnabled()
Query if attendee is allowed to submit questions.
boolean deleteAnswer(String answerID)
Delete answer by id.
boolean endLiving(String questionId)
End answer question living.
List< IQAItemInfo > getMyQuestionList()
Get my question list.
boolean enableAttendeeViewAllQuestion(boolean enable)
Allow attendee to view all question. Only meeting host/co-host can run the function.
boolean deleteQuestion(String questionID)
Delete question by id.
boolean enableQAVoteup(boolean enable)
Allow attendee to submit questions. Only meeting host/co-host can run the function.
void addQAListener(InMeetingQAListener listener)
Register a listener defined in InMeetingQAListener for QA event.
List< IQAItemInfo > getOpenQuestionList()
Get all open questions.
List< IQAItemInfo > getAnsweredQuestionList()
Get answered questions.
boolean isAskQuestionAnonymouslyEnabled()
Query if it is allowed to ask question anonymously in webinar.
List< IQAItemInfo > getDismissedQuestionList()
Get dismissed questions.
int getOpenQuestionCount()
Get the amount of open-ended questions.
boolean voteupQuestion(String questionID, boolean isUpVote)
voteUp question