8#import <Foundation/Foundation.h>
9#import <ZoomSDK/ZoomSDKErrors.h>
11NS_ASSUME_NONNULL_BEGIN
173@protocol ZoomSDKQAControllerDelegate <NSObject>
186- (void)onAddQuestion:(NSString *)questionID isSuccess:(BOOL)success;
193- (void)onAddAnswer:(NSString *)answerID isSuccess:(BOOL)success;
199- (void)onQuestionMarkedAsDismissed:(NSString*)questionID;
205- (void)onReopenQuestion:(NSString*)questionID;
211- (void)onReceiveQuestion:(NSString*_Nullable)questionID;
217- (void)onReceiveAnswer:(NSString*_Nullable)answerID;
223- (void)onUserLivingReply:(NSString*)questionID;
229- (void)onUserEndLiving:(NSString*)questionID;
236- (void)onVoteupQuestion:(NSString*)questionID orderChanged:(BOOL)isChanged;
243- (void)onRevokeVoteupQuestion:(NSString*)questionID orderChanged:(BOOL)isChanged;
249- (void)onAllowAskQuestionStatus:(BOOL)bEnabled;
255- (void)onAllowAskQuestionAnonymousStatus:(BOOL)bEnabled;
261- (void)onAllowAttendeeViewAllQuestionStatus:(BOOL)bEnabled;
267- (void)onAllowAttendeeVoteupQuestionStatus:(BOOL)bEnabled;
273- (void)onAllowAttendeeCommentQuestionStatus:(BOOL)bEnabled;
279- (void)onDeleteQuestions:(NSArray *)questions;
285- (void)onDeleteAnswers:(NSArray *)answer;
300@property(nonatomic,assign,nullable)id<ZoomSDKQAControllerDelegate> delegate;
311- (NSArray*_Nullable)getAllQuestionList;
317- (NSArray*_Nullable)getMyQuestionList;
323- (NSArray*_Nullable)getOpenQuestionList;
329- (NSArray*_Nullable)getDismissedQuestionList;
335- (NSArray*_Nullable)getAnsweredQuestionList;
343- (
ZoomSDKError)addQuestionWithQuestionContent:(NSString*)content isAnonymous:(BOOL)Anonymous;
351- (
ZoomSDKError)answerQuestionPrivateWithQuestionID:(NSString*)questionID answerContent:(NSString*)content;
359- (
ZoomSDKError)answerQuestionPublicWithQuestionID:(NSString*)questionID answerContent:(NSString*)content;
366- (
ZoomSDKError)dismissQuestionWithQuestionID:(NSString*)questionID;
373- (
ZoomSDKError)reopenQuestionWithQuestionID:(NSString*)questionID;
381- (
ZoomSDKError)commentQuestionWithQuestionID:(NSString*)questionID commentContent:(NSString*)content;
389- (
ZoomSDKError)voteupQuestionWithQuestionID:(NSString*)questionID isEableVokeup:(BOOL)enable;
402- (
ZoomSDKError)enableAnonymousSendQuestion:(BOOL)enable;
436- (BOOL)isAskQuestionEnabled;
441- (BOOL)isQAVoteupEnable;
447- (BOOL)isQACommentEnabled;
453- (BOOL)isAllowAskQuestionAnonymously;
459- (BOOL)isAttendeeCanViewAllQuestions;
486- (int)getOpenQuestionCount;
492- (int)getDismissedQuestionCount;
498- (int)getAnsweredQuestionCount;
504- (int)getMyQuestionCount;
524- (BOOL)isQALegalNoticeAvailable;
530- (NSString *)getQALegalNoticesPrompt;
536- (NSString *)getQALegalNoticesExplained;
ZoomSDKQAConnectStatus
Enumeration of Q&A connection statuses.
AttendeeViewQuestionType
Enumeration of attendee view question type.
ZoomSDKError
Enumeration of common errors of SDK.
Represents an answer object in the Q&A module.
NSString *_Nullable getAnswerID()
Gets the answer ID.
BOOL isLiveAnswer()
Gets the answer is live.
time_t getTimeStamp()
Gets the current answer's timestamps.
NSString *_Nullable getAnswerContent()
Gets the answer content.
BOOL isSenderMyself()
Gets the question answer is send myself.
NSString *_Nullable getQuestionId()
Gets the question ID.
BOOL isPrivate()
Gets the answer is private.
NSString *_Nullable getSendName()
Gets the answer's sender name.
Provide interfaces to manage Q&A session in Zoom meeting.
id< ZoomSDKQAControllerDelegate > _delegate
Represents a question object in the Q&A module.
BOOL isMarkedAsDismissed()
Gets the question is marked as dismissed.
NSString *_Nullable getLiveAnswerName()
Gets the person name of live answered question.
BOOL hasLiveAnswers()
Gets the question has live answer.
BOOL isAnonymous()
Gets the question is anonymous.
BOOL isLiveAnswering()
Gets the queestion is answered living.
BOOL isMarkedAsAnswered()
Gets the question is marked as answer.
BOOL isMySelfUpvoted()
Gets the question is myself vote.
BOOL hasTextAnswers()
Gets the question has text answer.
BOOL amILiveAnswering()
Gets the question is myself live answered.
NSArray *_Nullable getAnswerList()
Gets the question answer list.
NSString *_Nullable getSendName()
Gets the question's sender name.
NSString *_Nullable getQuestionContent()
Gets the question content.
BOOL isSenderMyself()
Gets the question is send by self.
NSString *_Nullable getQuestionId()
Gets the question ID.
time_t getTimeStamp()
Gets the current question's timestamps.
int upVoteNum()
Gets the question vote number.