Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKQuestionInfo Class Reference

Represents a question object in the Q&A module. More...

#include <ZoomSDKQAController.h>

Inherits NSObject.

Instance Methods

(NSString *_Nullable) - getQuestionId
 Gets the question ID.
 
(BOOL) - isSenderMyself
 Gets the question is send by self.
 
(time_t) - getTimeStamp
 Gets the current question's timestamps.
 
(NSString *_Nullable) - getQuestionContent
 Gets the question content.
 
(NSString *_Nullable) - getSendName
 Gets the question's sender name.
 
(BOOL) - isAnonymous
 Gets the question is anonymous.
 
(BOOL) - isMarkedAsAnswered
 Gets the question is marked as answer.
 
(BOOL) - isMarkedAsDismissed
 Gets the question is marked as dismissed.
 
(int) - upVoteNum
 Gets the question vote number.
 
(BOOL) - hasLiveAnswers
 Gets the question has live answer.
 
(BOOL) - hasTextAnswers
 Gets the question has text answer.
 
(BOOL) - isMySelfUpvoted
 Gets the question is myself vote.
 
(BOOL) - amILiveAnswering
 Gets the question is myself live answered.
 
(NSArray *_Nullable) - getAnswerList
 Gets the question answer list.
 
(NSString *_Nullable) - getLiveAnswerName
 Gets the person name of live answered question.
 
(BOOL) - isLiveAnswering
 Gets the queestion is answered living.
 

Detailed Description

Represents a question object in the Q&A module.

Definition at line 70 of file ZoomSDKQAController.h.

Method Documentation

◆ amILiveAnswering

- (BOOL) amILiveAnswering

Gets the question is myself live answered.

Returns
YES if the question is myself live answered. Otherwise, NO.

◆ getAnswerList

- (NSArray *_Nullable) getAnswerList

Gets the question answer list.

Returns
If the function succeeds, it returns the answer list of question. Otherwise, this function fails and returns nil.

◆ getLiveAnswerName

- (NSString *_Nullable) getLiveAnswerName

Gets the person name of live answered question.

Returns
If the function succeeds, it returns the person's name live answered the question. Otherwise, this function fails and returns nil.

◆ getQuestionContent

- (NSString *_Nullable) getQuestionContent

Gets the question content.

Returns
If the function succeeds, it returns the current question's content. Otherwise, this function fails and returns nil.

◆ getQuestionId

- (NSString *_Nullable) getQuestionId

Gets the question ID.

Returns
If the function succeeds, it returns the current question's ID. Otherwise, this function fails and returns nil.

◆ getSendName

- (NSString *_Nullable) getSendName

Gets the question's sender name.

Returns
If the function succeeds, it returns the person's name send the question. Otherwise, this function fails and returns nil.

◆ getTimeStamp

- (time_t) getTimeStamp

Gets the current question's timestamps.

Returns
The current question's timestamps.

◆ hasLiveAnswers

- (BOOL) hasLiveAnswers

Gets the question has live answer.

Returns
YES if the question has live answer. Otherwise, NO.

◆ hasTextAnswers

- (BOOL) hasTextAnswers

Gets the question has text answer.

Returns
YES if the question has text answer. Otherwise, NO.

◆ isAnonymous

- (BOOL) isAnonymous

Gets the question is anonymous.

Returns
YES if the question is anonymous. Otherwise, NO.

◆ isLiveAnswering

- (BOOL) isLiveAnswering

Gets the queestion is answered living.

Returns
Yes means the answer is living. Otherwise, NO.

◆ isMarkedAsAnswered

- (BOOL) isMarkedAsAnswered

Gets the question is marked as answer.

Returns
YES if the question is marked as answer. Otherwise, NO.

◆ isMarkedAsDismissed

- (BOOL) isMarkedAsDismissed

Gets the question is marked as dismissed.

Returns
YES if the question is marked as dismissed. Otherwise, NO.

◆ isMySelfUpvoted

- (BOOL) isMySelfUpvoted

Gets the question is myself vote.

Returns
YES if the question is myself vote. Otherwise, NO.

◆ isSenderMyself

- (BOOL) isSenderMyself

Gets the question is send by self.

Returns
Yes means the question is send by self. Otherwise, NO.

◆ upVoteNum

- (int) upVoteNum

Gets the question vote number.

Returns
The question vote number.