Windows SDK API Reference
Loading...
Searching...
No Matches
meeting_qa_ctrl_interface.h
Go to the documentation of this file.
1
6#ifndef _MEETING_QA_CTRL_INTERFACE_H_
7#define _MEETING_QA_CTRL_INTERFACE_H_
8#include "zoom_sdk_def.h"
9
11
17{
22};
23
26{
27public:
28 virtual ~IAnswerItem(){}
29
32 virtual time_t GetTimeStamp() = 0;
33
36 virtual const wchar_t* GetText() = 0;
37
40 virtual const wchar_t* GetSenderName() = 0;
41
44 virtual const wchar_t* GetQuestionID() = 0;
45
48 virtual const wchar_t* GetAnswerID() = 0;
49
52 virtual bool IsPrivate() = 0;
53
56 virtual bool IsLiveAnswer() = 0;
57
60 virtual bool IsSenderMyself() = 0;
61};
62
65{
66public:
67 virtual ~IQAItemInfo() {}
68
71 virtual time_t GetTimeStamp() = 0;
72
75 virtual unsigned int GetUpvoteNum() = 0;
76
79 virtual const wchar_t* GetText() = 0;
80
83 virtual const wchar_t* GetSenderName() = 0;
84
87 virtual const wchar_t* GetQuestionID() = 0;
88
91 virtual bool IsAnonymous() = 0;
92
95 virtual bool IsMarkedAsAnswered() = 0;
96
99 virtual bool IsMarkedAsDismissed() = 0;
100
103 virtual bool IsSenderMyself() = 0;
104
107 virtual bool IsMySelfUpvoted() = 0;
108
111 virtual bool HasLiveAnswers() = 0;
112
115 virtual bool HasTextAnswers() = 0;
116
119 virtual bool AmILiveAnswering() = 0;
120
123 virtual const wchar_t* GetLiveAnswerName() = 0;
124
127 virtual bool IsLiveAnswering() = 0;
128
132};
133
137{
138public:
140
143 virtual void OnQAConnectStatus(QAConnectStatus connectStatus) = 0;
144
148 virtual void OnAddQuestion(const wchar_t* questionID, bool bSuccess) = 0;
149
153 virtual void OnAddAnswer(const wchar_t* answerID, bool bSuccess) = 0;
154
157 virtual void OnQuestionMarkedAsDismissed(const wchar_t* question_id) = 0;
158
161 virtual void OnReopenQuestion(const wchar_t* question_id) = 0;
162
165 virtual void OnReceiveQuestion(const wchar_t* questionID) = 0;
166
169 virtual void OnReceiveAnswer(const wchar_t* answerID) = 0;
170
173 virtual void OnUserLivingReply(const wchar_t* questionID) = 0;
174
177 virtual void OnUserEndLiving(const wchar_t* questionID) = 0;
178
182 virtual void OnUpvoteQuestion(const wchar_t* question_id, bool order_changed) = 0;
183
187 virtual void OnRevokeUpvoteQuestion(const wchar_t* question_id, bool order_changed) = 0;
188
191 virtual void OnDeleteQuestion(IList<const wchar_t*>* lstQuestionID) = 0;
192
195 virtual void OnDeleteAnswer(IList<const wchar_t*>* lstAnswerID) = 0;
196
199 virtual void OnAllowAskQuestionAnonymousStatus(bool bEnabled) = 0;
200
203 virtual void OnAllowAttendeeViewAllQuestionStatus(bool bEnabled) = 0;
204
207 virtual void OnAllowAttendeeVoteupQuestionStatus(bool bEnabled) = 0;
208
211 virtual void OnAllowAttendeeCommentQuestionStatus(bool bEnabled) = 0;
212
214 virtual void OnRefreshQAData() = 0;
215};
216
220{
221public:
227
228 //attendee
229
235 virtual SDKError AddQuestion(const wchar_t* questionContent, bool bAskAnonymous) = 0;
236
239 virtual int GetMyQuestionCount() = 0;
240
244
251 virtual SDKError CommentQuestion(const wchar_t* questionID, const wchar_t* commentContent) = 0;
252
253 //host
254
261 virtual SDKError AnswerQuestionPrivate(const wchar_t* questionID, const wchar_t* answerContent) = 0;
262
269 virtual SDKError AnswerQuestionPublic(const wchar_t* questionID, const wchar_t* answerContent) = 0;
270
275 virtual SDKError DismissQuestion(const wchar_t* questionID) = 0;
276
281 virtual SDKError DeleteQuestion(const wchar_t* questionID) = 0;
282
287 virtual SDKError DeleteAnswer(const wchar_t* answerID) = 0;
288
293 virtual SDKError ReopenQuestion(const wchar_t* questionID) = 0;
294
299 virtual SDKError StartLiving(const wchar_t* questionID) = 0;
300
305 virtual SDKError EndLiving(const wchar_t* questionID) = 0;
306
309 virtual int GetOpenQuestionCount() = 0;
310
313 virtual int GetDismissedQuestionCount() = 0;
314
317 virtual int GetAnsweredQuestionCount() = 0;
318
322
326
330
335 virtual SDKError EnableAnonnymousQuestion(bool bEnable) = 0;
336
341 virtual SDKError EnableAttendeeViewAllQuestion(bool bEnable) = 0;
342
347 virtual SDKError EnableQAComment(bool bEnable) = 0;
348
353 virtual SDKError EnableQAVoteup(bool bEnable) = 0;
354
355 //attendee & host
356
359 virtual bool IsQAEnabled() = 0;
360
363 virtual bool IsQACommentEnabled() = 0;
364
367 virtual bool IsQAVoteupEnabled() = 0;
368
372
376
380
384 virtual IQAItemInfo* GetQuestion(const wchar_t* questionID) = 0;
385
389 virtual IAnswerItem* GetAnswer(const wchar_t* answerID) = 0;
390
396 virtual SDKError VoteupQuestion(const wchar_t* questionID, bool bVokeup) = 0;
397
400 virtual bool IsQALegalNoticeAvailable() = 0;
401
403 virtual const wchar_t* getQALegalNoticesPrompt() = 0;
404
406 virtual const wchar_t* getQALegalNoticesExplained() = 0;
407};
408
410#endif
Answer item interface class.
virtual bool IsPrivate()=0
Determine if the answer is private or not.
virtual const wchar_t * GetQuestionID()=0
Get the related question's id of the answer.
virtual const wchar_t * GetAnswerID()=0
Get the answer id.
virtual time_t GetTimeStamp()=0
Get the timestamp of the answer.
virtual bool IsLiveAnswer()=0
Determine if the answer is live or not.
virtual bool IsSenderMyself()=0
Determine whether the answer's sender is the user himself or not.
virtual const wchar_t * GetSenderName()=0
Get the sender's name of the answer.
virtual const wchar_t * GetText()=0
Get the text of the answer.
Meeting q&a callback event.
virtual void OnRevokeUpvoteQuestion(const wchar_t *question_id, bool order_changed)=0
Callback event of revoking voting up question.
virtual void OnUserEndLiving(const wchar_t *questionID)=0
Callback event of end of user answering live.
virtual void OnRefreshQAData()=0
Callback event of refreshing q&a data.
virtual void OnAddQuestion(const wchar_t *questionID, bool bSuccess)=0
Callback event of adding question.
virtual void OnAllowAskQuestionAnonymousStatus(bool bEnabled)=0
Callback event of enabling to ask question anonymously.
virtual void OnQAConnectStatus(QAConnectStatus connectStatus)=0
Callback event of Q&A connecting status.
virtual void OnAllowAttendeeCommentQuestionStatus(bool bEnabled)=0
Callback event of enabling attendee to comment questions.
virtual void OnAllowAttendeeViewAllQuestionStatus(bool bEnabled)=0
Callback event of enabling attendee to view all questions.
virtual void OnAddAnswer(const wchar_t *answerID, bool bSuccess)=0
Callback event of adding answer.
virtual void OnReopenQuestion(const wchar_t *question_id)=0
Callback event of reopening question.
virtual void OnReceiveAnswer(const wchar_t *answerID)=0
Callback event of receiving answer.
virtual void OnUpvoteQuestion(const wchar_t *question_id, bool order_changed)=0
Callback event of voting up question.
virtual void OnUserLivingReply(const wchar_t *questionID)=0
Callback event of user answering live.
virtual void OnReceiveQuestion(const wchar_t *questionID)=0
Callback event of receiving question.
virtual void OnDeleteQuestion(IList< const wchar_t * > *lstQuestionID)=0
Callback event of deleting question(s).
virtual void OnDeleteAnswer(IList< const wchar_t * > *lstAnswerID)=0
Callback event of deleting answer(s).
virtual void OnAllowAttendeeVoteupQuestionStatus(bool bEnabled)=0
Callback event of enabling attendee to vote up questions.
virtual void OnQuestionMarkedAsDismissed(const wchar_t *question_id)=0
Callback event of marking question as dismissed.
Meeting q&a controller interface class.
virtual IAnswerItem * GetAnswer(const wchar_t *answerID)=0
Get a certain answer.
virtual SDKError EnableAnonnymousQuestion(bool bEnable)=0
Enable or disable to ask question anonymously.
virtual SDKError DeleteAnswer(const wchar_t *answerID)=0
The host deletes the answerID.
virtual bool IsQACommentEnabled()=0
Determine if enabled to comment question.
virtual SDKError AddQuestion(const wchar_t *questionContent, bool bAskAnonymous)=0
The attendee adds a question.
virtual int GetOpenQuestionCount()=0
Get the count of the opened questions.
virtual int GetDismissedQuestionCount()=0
Get the count of the dismissed questions.
virtual SDKError AnswerQuestionPrivate(const wchar_t *questionID, const wchar_t *answerContent)=0
The host answers the question to the question sender privately.
virtual bool IsQAEnabled()=0
Determine if the meeting q&a service is enabled.
virtual SDKError EnableAttendeeViewAllQuestion(bool bEnable)=0
Enable or disable the attendees to view all the questions.
virtual SDKError AnswerQuestionPublic(const wchar_t *questionID, const wchar_t *answerContent)=0
The host answers the question publicly.
virtual int GetMyQuestionCount()=0
Get the question count of the attendee himself.
virtual SDKError ReopenQuestion(const wchar_t *questionID)=0
The host reopens the question.
virtual int GetAnsweredQuestionCount()=0
Get the count of the answered questions.
virtual IQAItemInfo * GetQuestion(const wchar_t *questionID)=0
Get a certain question.
virtual bool IsQALegalNoticeAvailable()=0
Determine whether the legal notice for QA is available.
virtual SDKError SetEvent(IMeetingQAControllerEvent *pEvent)=0
Set the meeting q&a controller callback event handler.
virtual IList< IQAItemInfo * > * GetOpenQuestionList()=0
Get the list of the opened questions.
virtual const wchar_t * getQALegalNoticesExplained()=0
Get the QA legal notices explained.
virtual SDKError EnableQAVoteup(bool bEnable)=0
Enable or disable to vote up question.
virtual bool IsAttendeeCanViewAllQuestions()=0
Determine if the attendee can view all the questions.
virtual IList< IQAItemInfo * > * GetAllQuestionList()=0
Get the list of all the questions.
virtual SDKError EndLiving(const wchar_t *questionID)=0
Set the question can not be answered live.
virtual IList< IQAItemInfo * > * GetMyQuestionList()=0
Get the list of all the questions that the attendee himself added.
virtual SDKError DismissQuestion(const wchar_t *questionID)=0
The host dismisses the question.
virtual SDKError CommentQuestion(const wchar_t *questionID, const wchar_t *commentContent)=0
The attendee comments a question.
virtual const wchar_t * getQALegalNoticesPrompt()=0
Get the QA legal notices prompt.
virtual bool IsQAVoteupEnabled()=0
Determine if enabled to vote up question.
virtual SDKError DeleteQuestion(const wchar_t *questionID)=0
The host deletes the question.
virtual SDKError StartLiving(const wchar_t *questionID)=0
Set the question can be answered live.
virtual IList< IQAItemInfo * > * GetDismissedQuestionList()=0
Get the list of the dismissed questions.
virtual SDKError EnableQAComment(bool bEnable)=0
Enable or disable to comment question.
virtual SDKError VoteupQuestion(const wchar_t *questionID, bool bVokeup)=0
Vote up or revoke voting up the question.
virtual bool IsAskQuestionAnonymouslyEnabled()=0
Determine if enabled to ask question anonymously.
virtual IList< IQAItemInfo * > * GetAnsweredQuestionList()=0
Get the list of the answered questions.
Question item interface class.
virtual const wchar_t * GetSenderName()=0
Get the sender's name of the question.
virtual bool AmILiveAnswering()=0
Determine if the user himself is answering the question live or not.
virtual unsigned int GetUpvoteNum()=0
Get the number of the up_voters of the question.
virtual bool HasTextAnswers()=0
Determine if the question has text answers or not.
virtual const wchar_t * GetLiveAnswerName()=0
Get all the users' names who answers the question live.
virtual bool IsLiveAnswering()=0
Determine if the question is being answered live or not.
virtual const wchar_t * GetQuestionID()=0
Get the question id.
virtual bool HasLiveAnswers()=0
Determine if the question has live answers or not.
virtual bool IsMarkedAsDismissed()=0
Determine if the question is marked as dismissed.
virtual bool IsMarkedAsAnswered()=0
Determine if the question is marked as answered.
virtual time_t GetTimeStamp()=0
Get the timestamp of the question.
virtual const wchar_t * GetText()=0
Get the text of the question.
virtual bool IsSenderMyself()=0
Determine if the question's sender is the user himself or not.
virtual IList< IAnswerItem * > * GetAnswerList()=0
Get the list of all the answers to the question.
virtual bool IsMySelfUpvoted()=0
Determine if the user himself is an up_voter of the question or not.
virtual bool IsAnonymous()=0
Determine if the question is anonymous.
QAConnectStatus
Information category for Q&A connecting. Here are more detailed structural descriptions.
@ QA_STATUS_DISCONNECT_CONFLICT
Disconnected because of conflict.
@ QA_STATUS_CONNECTED
Connected.
@ QA_STATUS_DISCONNECTED
Disconnected.
@ QA_STATUS_CONNECTING
Connecting.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:21
#define BEGIN_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:20
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:30