Meeting SDK for Windows API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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.
 
virtual SDKError AddQuestion (const zchar_t *questionContent, bool bAskAnonymous)=0
 The attendee adds a question.
 
virtual int GetMyQuestionCount ()=0
 Get the question count of the attendee himself.
 
virtual IList< IQAItemInfo * > * GetMyQuestionList ()=0
 Get the list of all the questions that the attendee himself added.
 
virtual SDKError CommentQuestion (const zchar_t *questionID, const zchar_t *commentContent)=0
 The attendee comments a 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 AnswerQuestionPublic (const zchar_t *questionID, const zchar_t *answerContent)=0
 The host answers the question publicly.
 
virtual SDKError DismissQuestion (const zchar_t *questionID)=0
 The host dismisses the question.
 
virtual SDKError DeleteQuestion (const zchar_t *questionID)=0
 The host deletes the question.
 
virtual SDKError DeleteAnswer (const zchar_t *answerID)=0
 The host deletes the answerID.
 
virtual SDKError ReopenQuestion (const zchar_t *questionID)=0
 The host reopens the question.
 
virtual SDKError StartLiving (const zchar_t *questionID)=0
 Set the question can be answered live.
 
virtual SDKError EndLiving (const zchar_t *questionID)=0
 Set the question can not be answered live.
 
virtual int GetOpenQuestionCount ()=0
 Get the count of the opened questions.
 
virtual int GetDismissedQuestionCount ()=0
 Get the count of the dismissed questions.
 
virtual int GetAnsweredQuestionCount ()=0
 Get the count of the answered questions.
 
virtual IList< IQAItemInfo * > * GetOpenQuestionList ()=0
 Get the list of the opened questions.
 
virtual IList< IQAItemInfo * > * GetDismissedQuestionList ()=0
 Get the list of the dismissed questions.
 
virtual IList< IQAItemInfo * > * GetAnsweredQuestionList ()=0
 Get the list of the answered questions.
 
virtual SDKError EnableAnonymousQuestion (bool bEnable)=0
 Enable or disable to ask question anonymously.
 
virtual SDKError EnableAttendeeViewAllQuestion (bool bEnable)=0
 Enable or disable the attendees to view all the questions.
 
virtual SDKError EnableQAComment (bool bEnable)=0
 Enable or disable to comment question.
 
virtual SDKError EnableQAVoteup (bool bEnable)=0
 Enable or disable to vote up question.
 
virtual bool IsQAEnabled ()=0
 Determine if the meeting q&a service is enabled.
 
virtual bool IsQACommentEnabled ()=0
 Determine if enabled to comment question.
 
virtual bool IsQAVoteupEnabled ()=0
 Determine if enabled to vote up question.
 
virtual bool IsAskQuestionAnonymouslyEnabled ()=0
 Determine if enabled to ask question anonymously.
 
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 IQAItemInfoGetQuestion (const zchar_t *questionID)=0
 Get a certain question.
 
virtual IAnswerItemGetAnswer (const zchar_t *answerID)=0
 Get a certain answer.
 
virtual SDKError VoteupQuestion (const zchar_t *questionID, bool bVokeup)=0
 Vote up or revoke voting up the question.
 
virtual bool IsQALegalNoticeAvailable ()=0
 Determine whether the legal notice for QA is available.
 
virtual const zchar_tgetQALegalNoticesPrompt ()=0
 Get the QA legal notices prompt.
 
virtual const zchar_tgetQALegalNoticesExplained ()=0
 Get the QA legal notices explained.
 
virtual SDKError EnableMeetingQAFeature (bool bEnable)=0
 Set to enable/disable meeting QA.
 
virtual bool IsMeetingQAFeatureOn ()=0
 Determine if meeting QA is enabled in current meeting.
 
virtual SDKError EnableAskQuestion (bool bEnable)=0
 Set attendee can ask question.
 
virtual bool IsAskQuestionEnabled ()=0
 Determine if the ask question is allowed by the host/co-host.
 

Detailed Description

Meeting q&a controller interface class.

Definition at line 227 of file meeting_qa_ctrl_interface.h.

Member Function Documentation

◆ AddQuestion()

virtual SDKError IMeetingQAController::AddQuestion ( const zchar_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 zchar_t * questionID,
const zchar_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 zchar_t * questionID,
const zchar_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 zchar_t * questionID,
const zchar_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 zchar_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 zchar_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 zchar_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.

◆ EnableAnonymousQuestion()

virtual SDKError IMeetingQAController::EnableAnonymousQuestion ( 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.

◆ EnableAskQuestion()

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

Set attendee can ask question.

Parameters
bEnableTrue means attendee can ask question, otherwise not.
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.

◆ EnableMeetingQAFeature()

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

Set to enable/disable meeting QA.

Parameters
bEnableTrue means enabled, false means disabled.
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 zchar_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 zchar_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.

◆ getQALegalNoticesExplained()

virtual const zchar_t * IMeetingQAController::getQALegalNoticesExplained ( )
pure virtual

Get the QA legal notices explained.

◆ getQALegalNoticesPrompt()

virtual const zchar_t * IMeetingQAController::getQALegalNoticesPrompt ( )
pure virtual

Get the QA legal notices prompt.

◆ GetQuestion()

virtual IQAItemInfo * IMeetingQAController::GetQuestion ( const zchar_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.

◆ IsAskQuestionEnabled()

virtual bool IMeetingQAController::IsAskQuestionEnabled ( )
pure virtual

Determine if the ask question is allowed by the host/co-host.

Returns
True means can ask question, otherwise not.

◆ 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.

◆ IsMeetingQAFeatureOn()

virtual bool IMeetingQAController::IsMeetingQAFeatureOn ( )
pure virtual

Determine if meeting QA is enabled in current meeting.

Returns
True means enabled, otherwise not.

◆ 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.

◆ IsQALegalNoticeAvailable()

virtual bool IMeetingQAController::IsQALegalNoticeAvailable ( )
pure virtual

Determine whether the legal notice for QA is available.

Returns
True indicates the legal notice for QA is available. Otherwise False.

◆ IsQAVoteupEnabled()

virtual bool IMeetingQAController::IsQAVoteupEnabled ( )
pure virtual

Determine if enabled to vote up question.

Returns
TRUE indicates enabled.

◆ ReopenQuestion()

virtual SDKError IMeetingQAController::ReopenQuestion ( const zchar_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 zchar_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 zchar_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.