Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCQAItem Class Reference

A class that represents a Q&A question. More...

#include <MobileRTCQAItem.h>

Inherits NSObject.

Instance Methods

(NSString *_Nullable) - getQuestionId
 Gets the question ID.
(NSDate *_Nullable) - getTime
 Gets the question time.
(NSString *_Nullable) - getText
 Gets the question text.
(NSString *_Nullable) - getSenderName
 Gets the sender name.
(BOOL) - isAnonymous
 Determines if the question is anonymous.
(BOOL) - isMarkedAsAnswered
 Determines if the question is marked as answered.
(BOOL) - isMarkedAsDismissed
 Determines if the question is marked as dismissed.
(NSUInteger) - getUpvoteNumber
 Gets the upvote number.
(BOOL) - getHasLiveAnswers
 Determines if the question has live answers.
(BOOL) - getHasTextAnswers
 Determines if the question has text answers.
(BOOL) - isMySelfUpvoted
 Determines if I have upvoted the question.
(BOOL) - amILiveAnswering
 Determines if I am live answering the question.
(BOOL) - isLiveAnswering
 Determines if someone is live answering the question.
(NSString *_Nullable) - getLiveAnswerName
 Gets the live answer name.
(BOOL) - isSenderMyself
 Determines if the sender is myself.
(nullable NSArray< MobileRTCQAAnswerItem * > *) - getAnswerlist
 Gets the answer list.

Detailed Description

A class that represents a Q&A question.

Definition at line 68 of file MobileRTCQAItem.h.

Method Documentation

◆ amILiveAnswering

- (BOOL) amILiveAnswering

Determines if I am live answering the question.

Returns
YES if I am live answering the question. Otherwise, NO.

References amILiveAnswering.

Referenced by amILiveAnswering.

◆ getAnswerlist

- (nullable NSArray< MobileRTCQAAnswerItem * > *) getAnswerlist

Gets the answer list.

Returns
The answer list.

References getAnswerlist.

Referenced by getAnswerlist.

◆ getHasLiveAnswers

- (BOOL) getHasLiveAnswers

Determines if the question has live answers.

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

References getHasLiveAnswers.

Referenced by getHasLiveAnswers.

◆ getHasTextAnswers

- (BOOL) getHasTextAnswers

Determines if the question has text answers.

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

References getHasTextAnswers.

Referenced by getHasTextAnswers.

◆ getLiveAnswerName

- (NSString *_Nullable) getLiveAnswerName

Gets the live answer name.

Returns
The live answer name.

References getLiveAnswerName.

Referenced by getLiveAnswerName.

◆ getQuestionId

- (NSString *_Nullable) getQuestionId

Gets the question ID.

Returns
The question ID.

References getQuestionId.

Referenced by getQuestionId.

◆ getSenderName

- (NSString *_Nullable) getSenderName

Gets the sender name.

Returns
The sender name.

References getSenderName.

Referenced by getSenderName.

◆ getText

- (NSString *_Nullable) getText

Gets the question text.

Returns
The question text.

References getText.

Referenced by getText.

◆ getTime

- (NSDate *_Nullable) getTime

Gets the question time.

Returns
The question time.

References getTime.

Referenced by getTime.

◆ getUpvoteNumber

- (NSUInteger) getUpvoteNumber

Gets the upvote number.

Returns
The upvote number.

References getUpvoteNumber.

Referenced by getUpvoteNumber.

◆ isAnonymous

- (BOOL) isAnonymous

Determines if the question is anonymous.

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

References isAnonymous.

Referenced by isAnonymous.

◆ isLiveAnswering

- (BOOL) isLiveAnswering

Determines if someone is live answering the question.

Returns
YES if someone is live answering the question. Otherwise, NO.

References isLiveAnswering.

Referenced by isLiveAnswering.

◆ isMarkedAsAnswered

- (BOOL) isMarkedAsAnswered

Determines if the question is marked as answered.

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

References isMarkedAsAnswered.

Referenced by isMarkedAsAnswered.

◆ isMarkedAsDismissed

- (BOOL) isMarkedAsDismissed

Determines if the question is marked as dismissed.

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

References isMarkedAsDismissed.

Referenced by isMarkedAsDismissed.

◆ isMySelfUpvoted

- (BOOL) isMySelfUpvoted

Determines if I have upvoted the question.

Returns
YES if I have upvoted the question. Otherwise, NO.

References isMySelfUpvoted.

Referenced by isMySelfUpvoted.

◆ isSenderMyself

- (BOOL) isSenderMyself

Determines if the sender is myself.

Returns
YES if the sender is myself. Otherwise, NO.

References isSenderMyself.

Referenced by isSenderMyself.