3#import <Foundation/Foundation.h>
4#import <ZoomSDK/ZoomSDKErrors.h>
156@protocol ZoomSDKQAControllerDelegate <NSObject>
169- (void)onAddQuestion:(NSString *)questionID isSuccess:(BOOL)success;
176- (void)onAddAnswer:(NSString *)answerID isSuccess:(BOOL)success;
182- (void)onQuestionMarkedAsDismissed:(NSString*)questionID;
188- (void)onReopenQuestion:(NSString*)questionID;
194- (void)onReceiveQuestion:(NSString*_Nullable)questionID;
200- (void)onReceiveAnswer:(NSString*_Nullable)answerID;
206- (void)onUserLivingReply:(NSString*)questionID;
212- (void)onUserEndLiving:(NSString*)questionID;
219- (void)onVoteupQuestion:(NSString*)questionID orderChanged:(BOOL)isChanged;
226- (void)onRevokeVoteupQuestion:(NSString*)questionID orderChanged:(BOOL)isChanged;
232- (void)onAllowAskQuestionStatus:(BOOL)bEnabled;
238- (void)onAllowAskQuestionAnonymousStatus:(BOOL)bEnabled;
244- (void)onAllowAttendeeViewAllQuestionStatus:(BOOL)bEnabled;
250- (void)onAllowAttendeeVoteupQuestionStatus:(BOOL)bEnabled;
256- (void)onAllowAttendeeCommentQuestionStatus:(BOOL)bEnabled;
262- (void)onDeleteQuestions:(NSArray *)questions;
268- (void)onDeleteAnswers:(NSArray *)answer;
275@property(nonatomic,assign,nullable)id<ZoomSDKQAControllerDelegate> delegate;
286- (NSArray*_Nullable)getAllQuestionList;
292- (NSArray*_Nullable)getMyQuestionList;
298- (NSArray*_Nullable)getOpenQuestionList;
304- (NSArray*_Nullable)getDismissedQuestionList;
310- (NSArray*_Nullable)getAnsweredQuestionList;
318- (
ZoomSDKError)addQuestionWithQuestionContent:(NSString*)content isAnonymous:(BOOL)Anonymous;
326- (
ZoomSDKError)answerQuestionPrivateWithQuestionID:(NSString*)questionID answerContent:(NSString*)content;
334- (
ZoomSDKError)answerQuestionPublicWithQuestionID:(NSString*)questionID answerContent:(NSString*)content;
341- (
ZoomSDKError)dismissQuestionWithQuestionID:(NSString*)questionID;
348- (
ZoomSDKError)reopenQuestionWithQuestionID:(NSString*)questionID;
356- (
ZoomSDKError)commentQuestionWithQuestionID:(NSString*)questionID commentContent:(NSString*)content;
364- (
ZoomSDKError)voteupQuestionWithQuestionID:(NSString*)questionID isEableVokeup:(BOOL)enable;
377- (
ZoomSDKError)enableAnonymousSendQuestion:(BOOL)enable;
411- (BOOL)isAskQuestionEnabled;
416- (BOOL)isQAVoteupEnable;
422- (BOOL)isQACommentEnabled;
428- (BOOL)isAllowAskQuestionAnonymously;
434- (BOOL)isAttendeeCanViewAllQuestions;
461- (int)getOpenQuestionCount;
467- (int)getDismissedQuestionCount;
473- (int)getAnsweredQuestionCount;
479- (int)getMyQuestionCount;
499- (BOOL)isQALegalNoticeAvailable;
505- (NSString *)getQALegalNoticesPrompt;
511- (NSString *)getQALegalNoticesExplained;
ZoomSDKQAConnectStatus
Enumeration of Q&A connection statuses.
AttendeeViewQuestionType
Enumeration of attendee view question type.
ZoomSDKError
Enumeration of common errors of SDK.
NSString *_Nullable getAnswerID()
Get the answer ID.
BOOL isLiveAnswer()
Get the answer is live.
time_t getTimeStamp()
Get the timestamps of the current answer.
NSString *_Nullable getAnswerContent()
Get the answer content.
BOOL isSenderMyself()
Get the question answer is send myself.
NSString *_Nullable getQuestionId()
Get the question ID.
BOOL isPrivate()
Get the answer is private.
NSString *_Nullable getSendName()
Get the senderName of the send answer.
id< ZoomSDKQAControllerDelegate > _delegate
BOOL isMarkedAsDismissed()
Get the question is marked as dismissed.
NSString *_Nullable getLiveAnswerName()
Get the person name of live answered question.
BOOL hasLiveAnswers()
Get the question has live answer.
BOOL isAnonymous()
Get the question is anonymous.
BOOL isLiveAnswering()
Get the queestion is answered living.
BOOL isMarkedAsAnswered()
Get the question is marked as answer.
BOOL isMySelfUpvoted()
Get the question is myself vote.
BOOL hasTextAnswers()
Get the question has text answer.
BOOL amILiveAnswering()
Get the question is myself live answered.
NSArray *_Nullable getAnswerList()
Get the question answer list.
NSString *_Nullable getSendName()
Get the senderName of the send question.
NSString *_Nullable getQuestionContent()
Get the question content.
BOOL isSenderMyself()
Get the question is send by self.
NSString *_Nullable getQuestionId()
Get the question ID.
time_t getTimeStamp()
Get the timestamps of the current question.
int upVoteNum()
Get the question vote number.