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.

◆ getAnswerlist

- (nullable NSArray< MobileRTCQAAnswerItem * > *) getAnswerlist

Gets the answer list.

Returns
The answer list.

◆ getHasLiveAnswers

- (BOOL) getHasLiveAnswers

Determines if the question has live answers.

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

◆ getHasTextAnswers

- (BOOL) getHasTextAnswers

Determines if the question has text answers.

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

◆ getLiveAnswerName

- (NSString *_Nullable) getLiveAnswerName

Gets the live answer name.

Returns
The live answer name.

◆ getQuestionId

- (NSString *_Nullable) getQuestionId

Gets the question ID.

Returns
The question ID.

◆ getSenderName

- (NSString *_Nullable) getSenderName

Gets the sender name.

Returns
The sender name.

◆ getText

- (NSString *_Nullable) getText

Gets the question text.

Returns
The question text.

◆ getTime

- (NSDate *_Nullable) getTime

Gets the question time.

Returns
The question time.

◆ getUpvoteNumber

- (NSUInteger) getUpvoteNumber

Gets the upvote number.

Returns
The upvote number.

◆ isAnonymous

- (BOOL) isAnonymous

Determines if the question is anonymous.

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

◆ isLiveAnswering

- (BOOL) isLiveAnswering

Determines if someone is live answering the question.

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

◆ isMarkedAsAnswered

- (BOOL) isMarkedAsAnswered

Determines if the question is marked as answered.

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

◆ isMarkedAsDismissed

- (BOOL) isMarkedAsDismissed

Determines if the question is marked as dismissed.

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

◆ isMySelfUpvoted

- (BOOL) isMySelfUpvoted

Determines if I have upvoted the question.

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

◆ isSenderMyself

- (BOOL) isSenderMyself

Determines if the sender is myself.

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