6#ifndef _MEETING_QA_CTRL_INTERFACE_H_
7#define _MEETING_QA_CTRL_INTERFACE_H_
Answer item interface class.
virtual bool IsPrivate()=0
Determine if the answer is private or not.
virtual const zchar_t * GetQuestionID()=0
Get the related question's id of the answer.
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 zchar_t * GetText()=0
Get the text of the answer.
virtual const zchar_t * GetSenderName()=0
Get the sender's name of the answer.
virtual const zchar_t * GetAnswerID()=0
Get the answer id.
Meeting q&a callback event.
virtual void OnUpvoteQuestion(const zchar_t *question_id, bool order_changed)=0
Callback event of voting up question.
virtual void OnUserEndLiving(const zchar_t *questionID)=0
Callback event of end of user answering live.
virtual void OnDeleteAnswer(IList< const zchar_t * > *lstAnswerID)=0
Callback event of deleting answer(s).
virtual void OnReopenQuestion(const zchar_t *question_id)=0
Callback event of reopening question.
virtual void OnRefreshQAData()=0
Callback event of refreshing q&a data.
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 OnAddQuestion(const zchar_t *questionID, bool bSuccess)=0
Callback event of adding question.
virtual void OnQuestionMarkedAsDismissed(const zchar_t *question_id)=0
Callback event of marking question as dismissed.
virtual void OnReceiveAnswer(const zchar_t *answerID)=0
Callback event of receiving answer.
virtual void OnAllowAttendeeViewAllQuestionStatus(bool bEnabled)=0
Callback event of enabling attendee to view all questions.
virtual void OnDeleteQuestion(IList< const zchar_t * > *lstQuestionID)=0
Callback event of deleting question(s).
virtual void onAllowAskQuestionStatus(bool bEnabled)=0
Notify host/cohost has changed the status of ask question.
virtual void OnUserLivingReply(const zchar_t *questionID)=0
Callback event of user answering live.
virtual void OnAddAnswer(const zchar_t *answerID, bool bSuccess)=0
Callback event of adding answer.
virtual ~IMeetingQAControllerEvent()
virtual void OnReceiveQuestion(const zchar_t *questionID)=0
Callback event of receiving question.
virtual void onMeetingQAStatusChanged(bool bEnabled)=0
Callback event of meeting QA feature status changes.
virtual void OnRevokeUpvoteQuestion(const zchar_t *question_id, bool order_changed)=0
Callback event of revoking voting up question.
virtual void OnAllowAttendeeVoteupQuestionStatus(bool bEnabled)=0
Callback event of enabling attendee to vote up questions.
Meeting q&a controller interface class.
virtual const zchar_t * getQALegalNoticesExplained()=0
Get the QA legal notices explained.
virtual SDKError EnableAskQuestion(bool bEnable)=0
Set attendee can ask question.
virtual SDKError AnswerQuestionPrivate(const zchar_t *questionID, const zchar_t *answerContent)=0
The host answers the question to the question sender privately.
virtual SDKError VoteupQuestion(const zchar_t *questionID, bool bVokeup)=0
Vote up or revoke voting up the question.
virtual bool IsAskQuestionEnabled()=0
Determine if the ask question is allowed by the host/co-host.
virtual SDKError CommentQuestion(const zchar_t *questionID, const zchar_t *commentContent)=0
The attendee comments a question.
virtual bool IsQACommentEnabled()=0
Determine if enabled to comment question.
virtual SDKError ReopenQuestion(const zchar_t *questionID)=0
The host reopens the question.
virtual SDKError AnswerQuestionPublic(const zchar_t *questionID, const zchar_t *answerContent)=0
The host answers the question publicly.
virtual int GetOpenQuestionCount()=0
Get the count of the opened questions.
virtual SDKError EnableAnonymousQuestion(bool bEnable)=0
Enable or disable to ask question anonymously.
virtual SDKError EnableMeetingQAFeature(bool bEnable)=0
Set to enable/disable meeting QA.
virtual int GetDismissedQuestionCount()=0
Get the count of the dismissed questions.
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 int GetMyQuestionCount()=0
Get the question count of the attendee himself.
virtual SDKError StartLiving(const zchar_t *questionID)=0
Set the question can be answered live.
virtual int GetAnsweredQuestionCount()=0
Get the count of the answered questions.
virtual bool IsQALegalNoticeAvailable()=0
Determine whether the legal notice for QA is available.
virtual IQAItemInfo * GetQuestion(const zchar_t *questionID)=0
Get a certain question.
virtual SDKError SetEvent(IMeetingQAControllerEvent *pEvent)=0
Set the meeting q&a controller callback event handler.
virtual SDKError DismissQuestion(const zchar_t *questionID)=0
The host dismisses the question.
virtual bool IsMeetingQAFeatureOn()=0
Determine if meeting QA is enabled in current meeting.
virtual IList< IQAItemInfo * > * GetOpenQuestionList()=0
Get the list of the opened questions.
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 IList< IQAItemInfo * > * GetMyQuestionList()=0
Get the list of all the questions that the attendee himself added.
virtual bool IsQAVoteupEnabled()=0
Determine if enabled to vote up question.
virtual SDKError DeleteQuestion(const zchar_t *questionID)=0
The host deletes the question.
virtual IAnswerItem * GetAnswer(const zchar_t *answerID)=0
Get a certain answer.
virtual const zchar_t * getQALegalNoticesPrompt()=0
Get the QA legal notices prompt.
virtual IList< IQAItemInfo * > * GetDismissedQuestionList()=0
Get the list of the dismissed questions.
virtual SDKError EndLiving(const zchar_t *questionID)=0
Set the question can not be answered live.
virtual SDKError DeleteAnswer(const zchar_t *answerID)=0
The host deletes the answerID.
virtual SDKError EnableQAComment(bool bEnable)=0
Enable or disable to comment question.
virtual bool IsAskQuestionAnonymouslyEnabled()=0
Determine if enabled to ask question anonymously.
virtual SDKError AddQuestion(const zchar_t *questionContent, bool bAskAnonymous)=0
The attendee adds a question.
virtual IList< IQAItemInfo * > * GetAnsweredQuestionList()=0
Get the list of the answered questions.
Question item interface class.
virtual bool AmILiveAnswering()=0
Determine if the user himself is answering the question live or not.
virtual const zchar_t * GetQuestionID()=0
Get the question id.
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 bool IsLiveAnswering()=0
Determine if the question is being answered live or not.
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 const zchar_t * GetLiveAnswerName()=0
Get all the users' names who answers the question live.
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 zchar_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.
virtual const zchar_t * GetSenderName()=0
Get the sender's name of the question.
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
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.