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

Polling question item interface. More...

#include <MobileRTCMeetingService+Polling.h>

Inherits NSObject.

Instance Methods

(NSString *_Nullable) - getPollingID
 Gets the polling ID of the question item.
 
(NSString *_Nullable) - getPollingQuestionID
 Gets the polling question ID.
 
(NSString *_Nullable) - getPollingQuestionName
 Gets the polling question name.
 
(MobileRTCPollingQuestionType- getPollingQuestionType
 Gets the polling question type.
 
(NSInteger) - getAnsweredCount
 Gets the count of answered questions.
 
(BOOL) - isRequired
 Determines if it is required.
 
(NSArray< MobileRTCPollingQuestionItem * > *_Nullable) - getPollingSubQuestionItemList
 Gets the list of polling question's subquestion.
 
(NSArray< MobileRTCPollingAnswerItem * > *_Nullable) - getPollingAnswerItemList
 Gets the list of polling question or subquestion's answer.
 

Detailed Description

Polling question item interface.

Definition at line 99 of file MobileRTCMeetingService+Polling.h.

Method Documentation

◆ getAnsweredCount

- (NSInteger) getAnsweredCount

Gets the count of answered questions.

Returns
The count of answered questions.

◆ getPollingAnswerItemList

- (NSArray< MobileRTCPollingAnswerItem * > *_Nullable) getPollingAnswerItemList

Gets the list of polling question or subquestion's answer.

Returns
If the function succeeds, it returns an NSArray of MobileRTCPollingAnswerItem objects. Otherwise, this function fails and returns nil.

◆ getPollingID

- (NSString *_Nullable) getPollingID

Gets the polling ID of the question item.

Returns
The polling ID.

◆ getPollingQuestionID

- (NSString *_Nullable) getPollingQuestionID

Gets the polling question ID.

Returns
The polling question ID.

◆ getPollingQuestionName

- (NSString *_Nullable) getPollingQuestionName

Gets the polling question name.

Returns
The polling question name.

◆ getPollingQuestionType

- (MobileRTCPollingQuestionType) getPollingQuestionType

Gets the polling question type.

Returns
The polling question type.

◆ getPollingSubQuestionItemList

- (NSArray< MobileRTCPollingQuestionItem * > *_Nullable) getPollingSubQuestionItemList

Gets the list of polling question's subquestion.

Returns
If the function succeeds, it returns an NSArray of MobileRTCPollingQuestionItem objects. Otherwise, this function fails and returns nil.

◆ isRequired

- (BOOL) isRequired

Determines if it is required.

Returns
YES if required. Otherwise, NO.