ZOOM Windows SDK  5.2.41727.0928
Public Member Functions | List of all members
IMeetingQAController Class Referenceabstract

Meeting q&a controller interface class. More...

#include <meeting_qa_ctrl_interface.h>

Public Member Functions

virtual SDKError SetEvent (IMeetingQAControllerEvent *pEvent)=0
 Set the meeting q&a controller callback event handler. More...
 
virtual SDKError AddQuestion (const wchar_t *questionContent, bool bAskAnonymous)=0
 The attendee adds a question. More...
 
virtual int GetMyQuestionCount ()=0
 Get the question count of the attendee himself. More...
 
virtual IList< IQAItemInfo * > * GetMyQuestionList ()=0
 Get the list of all the questions that the attendee himself added. More...
 
virtual SDKError CommentQuestion (const wchar_t *questionID, const wchar_t *commentContent)=0
 The attendee comments a question. More...
 
virtual SDKError AnswerQuestionPrivate (const wchar_t *questionID, const wchar_t *answerContent)=0
 The host answers the question to the question sender privately. More...
 
virtual SDKError AnswerQuestionPublic (const wchar_t *questionID, const wchar_t *answerContent)=0
 The host answers the question publicly. More...
 
virtual SDKError DismissQuestion (const wchar_t *questionID)=0
 The host dismisses the question. More...
 
virtual SDKError DeleteQuestion (const wchar_t *questionID)=0
 The host deletes the question. More...
 
virtual SDKError DeleteAnswer (const wchar_t *answerID)=0
 The host deletes the answerID. More...
 
virtual SDKError ReopenQuestion (const wchar_t *questionID)=0
 The host reopens the question. More...
 
virtual SDKError StartLiving (const wchar_t *questionID)=0
 Set the question can be answered live. More...
 
virtual SDKError EndLiving (const wchar_t *questionID)=0
 Set the question can not be answered live. More...
 
virtual int GetOpenQuestionCount ()=0
 Get the count of the opened questions. More...
 
virtual int GetDismissedQuestionCount ()=0
 Get the count of the dismissed questions. More...
 
virtual int GetAnsweredQuestionCount ()=0
 Get the count of the answered questions. More...
 
virtual IList< IQAItemInfo * > * GetOpenQuestionList ()=0
 Get the list of the opened questions. More...
 
virtual IList< IQAItemInfo * > * GetDismissedQuestionList ()=0
 Get the list of the dismissed questions. More...
 
virtual IList< IQAItemInfo * > * GetAnsweredQuestionList ()=0
 Get the list of the answered questions. More...
 
virtual SDKError EnableAnonnymousQuestion (bool bEnable)=0
 Enable or disable to ask question anonymously. More...
 
virtual SDKError EnableAttendeeViewAllQuestion (bool bEnable)=0
 Enable or disable the attendees to view all the questions. More...
 
virtual SDKError EnableQAComment (bool bEnable)=0
 Enable or disable to comment question. More...
 
virtual SDKError EnableQAVoteup (bool bEnable)=0
 Enable or disable to vote up question. More...
 
virtual bool IsQAEnabled ()=0
 Determine if the meeting q&a service is enabled. More...
 
virtual bool IsQACommentEnabled ()=0
 Determine if enabled to comment question. More...
 
virtual bool IsQAVoteupEnabled ()=0
 Determine if enabled to vote up question. More...
 
virtual bool IsAskQuestionAnonymouslyEnabled ()=0
 Determine if enabled to ask question anonymously. More...
 
virtual bool IsAttendeeCanViewAllQuestions ()=0
 Determine if the attendee can view all the questions. More...
 
virtual IList< IQAItemInfo * > * GetAllQuestionList ()=0
 Get the list of all the questions. More...
 
virtual IQAItemInfoGetQuestion (const wchar_t *questionID)=0
 Get a certain question. More...
 
virtual IAnswerItemGetAnswer (const wchar_t *answerID)=0
 Get a certain answer. More...
 
virtual SDKError VoteupQuestion (const wchar_t *questionID, bool bVokeup)=0
 Vote up or revoke voting up the question. More...
 

Detailed Description

Meeting q&a controller interface class.

Member Function Documentation

◆ AddQuestion()

virtual SDKError IMeetingQAController::AddQuestion ( const wchar_t *  questionContent,
bool  bAskAnonymous 
)
pure virtual

The attendee adds a question.

Parameters
questionContentSpecifies the content of the question.
bAskAnonymousSpecifies whether the question is asked anonymously.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ AnswerQuestionPrivate()

virtual SDKError IMeetingQAController::AnswerQuestionPrivate ( const wchar_t *  questionID,
const wchar_t *  answerContent 
)
pure virtual

The host answers the question to the question sender privately.

Parameters
questionIDSpecifies the question id.
answerContentSpecifies the content of the answer.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
Remarks
The answer will be cut off if it is over long.

◆ AnswerQuestionPublic()

virtual SDKError IMeetingQAController::AnswerQuestionPublic ( const wchar_t *  questionID,
const wchar_t *  answerContent 
)
pure virtual

The host answers the question publicly.

Parameters
questionIDSpecifies the question id.
answerContentSpecifies the content of the answer.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
Remarks
The answer will be cut off if it is over long.

◆ CommentQuestion()

virtual SDKError IMeetingQAController::CommentQuestion ( const wchar_t *  questionID,
const wchar_t *  commentContent 
)
pure virtual

The attendee comments a question.

Parameters
questionIDSpecifies the question id.
commentContentSpecifies the content of the comment.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
Remarks
The comment will be cut off if it is over long.

◆ DeleteAnswer()

virtual SDKError IMeetingQAController::DeleteAnswer ( const wchar_t *  answerID)
pure virtual

The host deletes the answerID.

Parameters
answerIDSpecifies the answer id.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ DeleteQuestion()

virtual SDKError IMeetingQAController::DeleteQuestion ( const wchar_t *  questionID)
pure virtual

The host deletes the question.

Parameters
questionIDSpecifies the question id.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ DismissQuestion()

virtual SDKError IMeetingQAController::DismissQuestion ( const wchar_t *  questionID)
pure virtual

The host dismisses the question.

Parameters
questionIDSpecifies the question id.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ EnableAnonnymousQuestion()

virtual SDKError IMeetingQAController::EnableAnonnymousQuestion ( bool  bEnable)
pure virtual

Enable or disable to ask question anonymously.

Parameters
bEnableTRUE indicates to enable to ask question anonymously.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ EnableAttendeeViewAllQuestion()

virtual SDKError IMeetingQAController::EnableAttendeeViewAllQuestion ( bool  bEnable)
pure virtual

Enable or disable the attendees to view all the questions.

Parameters
bEnableTRUE indicates to enable the attendees to view all the questions.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ EnableQAComment()

virtual SDKError IMeetingQAController::EnableQAComment ( bool  bEnable)
pure virtual

Enable or disable to comment question.

Parameters
bEnableTRUE indicates to enable to comment question.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ EnableQAVoteup()

virtual SDKError IMeetingQAController::EnableQAVoteup ( bool  bEnable)
pure virtual

Enable or disable to vote up question.

Parameters
bEnableTRUE indicates to enable to vote up question.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ EndLiving()

virtual SDKError IMeetingQAController::EndLiving ( const wchar_t *  questionID)
pure virtual

Set the question can not be answered live.

Parameters
questionIDSpecifies the question id.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ GetAllQuestionList()

virtual IList<IQAItemInfo *>* IMeetingQAController::GetAllQuestionList ( )
pure virtual

Get the list of all the questions.

Returns
The list of all the questions. For more details, see IQAItemInfo.

◆ GetAnswer()

virtual IAnswerItem* IMeetingQAController::GetAnswer ( const wchar_t *  answerID)
pure virtual

Get a certain answer.

Parameters
answerIDSpecifies the answer id.
Returns
A pointer to IAnswerItem. For more details, see IAnswerItem.

◆ GetAnsweredQuestionCount()

virtual int IMeetingQAController::GetAnsweredQuestionCount ( )
pure virtual

Get the count of the answered questions.

Returns
The count of the answered questions.

◆ GetAnsweredQuestionList()

virtual IList<IQAItemInfo *>* IMeetingQAController::GetAnsweredQuestionList ( )
pure virtual

Get the list of the answered questions.

Returns
The list of the answered questions. For more details, see IQAItemInfo.

◆ GetDismissedQuestionCount()

virtual int IMeetingQAController::GetDismissedQuestionCount ( )
pure virtual

Get the count of the dismissed questions.

Returns
The count of the dismissed questions.

◆ GetDismissedQuestionList()

virtual IList<IQAItemInfo *>* IMeetingQAController::GetDismissedQuestionList ( )
pure virtual

Get the list of the dismissed questions.

Returns
The list of the dismissed questions. For more details, see IQAItemInfo.

◆ GetMyQuestionCount()

virtual int IMeetingQAController::GetMyQuestionCount ( )
pure virtual

Get the question count of the attendee himself.

Returns
The question count of the attendee himself.

◆ GetMyQuestionList()

virtual IList<IQAItemInfo *>* IMeetingQAController::GetMyQuestionList ( )
pure virtual

Get the list of all the questions that the attendee himself added.

Returns
The list of all the questions that the attendee himself added. For more details, see IQAItemInfo.

◆ GetOpenQuestionCount()

virtual int IMeetingQAController::GetOpenQuestionCount ( )
pure virtual

Get the count of the opened questions.

Returns
The count of the opened questions.

◆ GetOpenQuestionList()

virtual IList<IQAItemInfo *>* IMeetingQAController::GetOpenQuestionList ( )
pure virtual

Get the list of the opened questions.

Returns
The list of the opened questions. For more details, see IQAItemInfo.

◆ GetQuestion()

virtual IQAItemInfo* IMeetingQAController::GetQuestion ( const wchar_t *  questionID)
pure virtual

Get a certain question.

Parameters
questionIDSpecifies the question id.
Returns
A pointer to IQAItemInfo. For more details, see IQAItemInfo.

◆ IsAskQuestionAnonymouslyEnabled()

virtual bool IMeetingQAController::IsAskQuestionAnonymouslyEnabled ( )
pure virtual

Determine if enabled to ask question anonymously.

Returns
TRUE indicates enabled.

◆ IsAttendeeCanViewAllQuestions()

virtual bool IMeetingQAController::IsAttendeeCanViewAllQuestions ( )
pure virtual

Determine if the attendee can view all the questions.

Returns
TRUE indicates the attendee can view all the questions.

◆ IsQACommentEnabled()

virtual bool IMeetingQAController::IsQACommentEnabled ( )
pure virtual

Determine if enabled to comment question.

Returns
TRUE indicates enabled.

◆ IsQAEnabled()

virtual bool IMeetingQAController::IsQAEnabled ( )
pure virtual

Determine if the meeting q&a service is enabled.

Returns
TRUE indicates the meeting q&a service is enabled.

◆ IsQAVoteupEnabled()

virtual bool IMeetingQAController::IsQAVoteupEnabled ( )
pure virtual

Determine if enabled to vote up question.

Returns
TRUE indicates enabled.

◆ ReopenQuestion()

virtual SDKError IMeetingQAController::ReopenQuestion ( const wchar_t *  questionID)
pure virtual

The host reopens the question.

Parameters
questionIDSpecifies the question id.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ SetEvent()

virtual SDKError IMeetingQAController::SetEvent ( IMeetingQAControllerEvent pEvent)
pure virtual

Set the meeting q&a controller callback event handler.

Parameters
pEventA pointer to the IMeetingQAControllerEvent that receives the meeting q&a event. For more details, see IMeetingQAControllerEvent.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ StartLiving()

virtual SDKError IMeetingQAController::StartLiving ( const wchar_t *  questionID)
pure virtual

Set the question can be answered live.

Parameters
questionIDSpecifies the question id.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ VoteupQuestion()

virtual SDKError IMeetingQAController::VoteupQuestion ( const wchar_t *  questionID,
bool  bVokeup 
)
pure virtual

Vote up or revoke voting up the question.

Parameters
questionIDSpecifies the question id.
bVokeupTRUE indicates to vote up, FALSE indicates to revoke voting up.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

The documentation for this class was generated from the following file: