Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
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
 Sets 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
 Gets the question count of the attendee himself.
 
virtual IList< IQAItemInfo * > * GetMyQuestionList ()=0
 Gets 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
 Sets the question can be answered live.
 
virtual SDKError EndLiving (const zchar_t *questionID)=0
 Sets the question can not be answered live.
 
virtual int GetOpenQuestionCount ()=0
 Gets the count of the opened questions.
 
virtual int GetDismissedQuestionCount ()=0
 Gets the count of the dismissed questions.
 
virtual int GetAnsweredQuestionCount ()=0
 Gets the count of the answered questions.
 
virtual IList< IQAItemInfo * > * GetOpenQuestionList ()=0
 Gets the list of the opened questions.
 
virtual IList< IQAItemInfo * > * GetDismissedQuestionList ()=0
 Gets the list of the dismissed questions.
 
virtual IList< IQAItemInfo * > * GetAnsweredQuestionList ()=0
 Gets the list of the answered questions.
 
virtual SDKError EnableAnonymousQuestion (bool bEnable)=0
 Enables or disable to ask question anonymously.
 
virtual SDKError EnableAttendeeViewAllQuestion (bool bEnable)=0
 Enables or disable the attendees to view all the questions.
 
virtual SDKError EnableQAComment (bool bEnable)=0
 Enables or disable to comment question.
 
virtual SDKError EnableQAVoteup (bool bEnable)=0
 Enables or disable to vote up question.
 
virtual bool IsQAEnabled ()=0
 Determines if the meeting q&a service is enabled.
 
virtual bool IsQACommentEnabled ()=0
 Determines if enabled to comment question.
 
virtual bool IsQAVoteupEnabled ()=0
 Determines if enabled to vote up question.
 
virtual bool IsAskQuestionAnonymouslyEnabled ()=0
 Determines if enabled to ask question anonymously.
 
virtual bool IsAttendeeCanViewAllQuestions ()=0
 Determines if the attendee can view all the questions.
 
virtual IList< IQAItemInfo * > * GetAllQuestionList ()=0
 Gets the list of all the questions.
 
virtual IQAItemInfoGetQuestion (const zchar_t *questionID)=0
 Gets a certain question.
 
virtual IAnswerItemGetAnswer (const zchar_t *answerID)=0
 Gets 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
 Determines whether the legal notice for QA is available.
 
virtual const zchar_tgetQALegalNoticesPrompt ()=0
 Gets the QA legal notices prompt.
 
virtual const zchar_tgetQALegalNoticesExplained ()=0
 Gets the QA legal notices explained.
 
virtual SDKError EnableMeetingQAFeature (bool bEnable)=0
 Sets to enable/disable meeting QA.
 
virtual bool IsMeetingQAFeatureOn ()=0
 Determines if meeting QA is enabled in current meeting.
 
virtual SDKError EnableAskQuestion (bool bEnable)=0
 Sets attendee can ask question.
 
virtual bool IsAskQuestionEnabled ()=0
 Determines if the ask question is allowed by the host/co-host.
 

Detailed Description

Meeting q&a controller interface class.

Definition at line 329 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.

Note
attendee
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, this function returns an error.

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

Note
host
Parameters
questionIDSpecifies the question id.
answerContentSpecifies the content of the answer.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
Note
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, this function returns an error.
Note
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, this function returns an error.
Note
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, this function returns an error.

◆ 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, this function returns an error.

◆ 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, this function returns an error.

◆ EnableAnonymousQuestion()

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

Enables 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, this function returns an error.

◆ EnableAskQuestion()

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

Sets attendee can ask question.

Parameters
bEnabletrue indicates attendee can ask question, otherwise not.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ EnableAttendeeViewAllQuestion()

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

Enables 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, this function returns an error.

◆ EnableMeetingQAFeature()

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

Sets to enable/disable meeting QA.

Parameters
bEnabletrue indicates enabled, false means disabled.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ EnableQAComment()

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

Enables 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, this function returns an error.

◆ EnableQAVoteup()

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

Enables 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, this function returns an error.

◆ EndLiving()

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

Sets the question can not be answered live.

Parameters
questionIDSpecifies the question id.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ GetAllQuestionList()

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

Gets the list of all the questions.

Returns
The list of all the questions.

◆ GetAnswer()

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

Gets a certain answer.

Parameters
answerIDSpecifies the answer id.
Returns
A pointer to IAnswerItem.

◆ GetAnsweredQuestionCount()

virtual int IMeetingQAController::GetAnsweredQuestionCount ( )
pure virtual

Gets the count of the answered questions.

Returns
The count of the answered questions.

◆ GetAnsweredQuestionList()

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

Gets the list of the answered questions.

Returns
The list of the answered questions.

◆ GetDismissedQuestionCount()

virtual int IMeetingQAController::GetDismissedQuestionCount ( )
pure virtual

Gets the count of the dismissed questions.

Returns
The count of the dismissed questions.

◆ GetDismissedQuestionList()

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

Gets the list of the dismissed questions.

Returns
The list of the dismissed questions.

◆ GetMyQuestionCount()

virtual int IMeetingQAController::GetMyQuestionCount ( )
pure virtual

Gets the question count of the attendee himself.

Returns
The question count of the attendee himself.

◆ GetMyQuestionList()

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

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

Returns
The list of all the questions that the attendee himself added.

◆ GetOpenQuestionCount()

virtual int IMeetingQAController::GetOpenQuestionCount ( )
pure virtual

Gets the count of the opened questions.

Returns
The count of the opened questions.

◆ GetOpenQuestionList()

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

Gets the list of the opened questions.

Returns
The list of the opened questions.

◆ getQALegalNoticesExplained()

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

Gets the QA legal notices explained.

◆ getQALegalNoticesPrompt()

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

Gets the QA legal notices prompt.

◆ GetQuestion()

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

Gets a certain question.

Parameters
questionIDSpecifies the question id.
Returns
A pointer to IQAItemInfo.

◆ IsAskQuestionAnonymouslyEnabled()

virtual bool IMeetingQAController::IsAskQuestionAnonymouslyEnabled ( )
pure virtual

Determines if enabled to ask question anonymously.

Returns
true indicates enabled.

◆ IsAskQuestionEnabled()

virtual bool IMeetingQAController::IsAskQuestionEnabled ( )
pure virtual

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

Returns
true indicates can ask question, otherwise not.

◆ IsAttendeeCanViewAllQuestions()

virtual bool IMeetingQAController::IsAttendeeCanViewAllQuestions ( )
pure virtual

Determines 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

Determines if meeting QA is enabled in current meeting.

Returns
true indicates enabled, otherwise not.

◆ IsQACommentEnabled()

virtual bool IMeetingQAController::IsQACommentEnabled ( )
pure virtual

Determines if enabled to comment question.

Returns
true indicates enabled.

◆ IsQAEnabled()

virtual bool IMeetingQAController::IsQAEnabled ( )
pure virtual

Determines if the meeting q&a service is enabled.

Note
attendee & host
Returns
true indicates the meeting q&a service is enabled.

◆ IsQALegalNoticeAvailable()

virtual bool IMeetingQAController::IsQALegalNoticeAvailable ( )
pure virtual

Determines 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

Determines 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, this function returns an error.

◆ SetEvent()

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

Sets the meeting q&a controller callback event handler.

Parameters
pEventA pointer to the IMeetingQAControllerEvent that receives the meeting q&a event.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ StartLiving()

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

Sets the question can be answered live.

Parameters
questionIDSpecifies the question id.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ 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, this function returns an error.