3#import <Foundation/Foundation.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*)questionID;
200-(void)onReceiveAnswer:(NSString*)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)onAllowAskQuestionAnonymousStatus:(BOOL)bEnabled;
238-(void)onAllowAttendeeViewAllQuestionStatus:(BOOL)bEnabled;
244-(void)onAllowAttendeeVoteupQuestionStatus:(BOOL)bEnabled;
250-(void)onAllowAttendeeCommentQuestionStatus:(BOOL)bEnabled;
256-(void)onDeleteQuestions:(NSArray *)questions;
262-(void)onDeleteAnswers:(NSArray *)answer;
269@property(nonatomic,assign)id<ZoomSDKQAControllerDelegate> delegate;
280-(NSArray*)getAllQuestionList;
286-(NSArray*)getMyQuestionList;
292-(NSArray*)getOpenQuestionList;
298-(NSArray*)getDismissedQuestionList;
304-(NSArray*)getAnsweredQuestionList;
312-(
ZoomSDKError)addQuestionWithQuestionContent:(NSString*)content isAnonymous:(BOOL)Anonymous;
320-(
ZoomSDKError)answerQuestionPrivateWithQuestionID:(NSString*)questionID answerContent:(NSString*)content;
328-(
ZoomSDKError)answerQuestionPublicWithQuestionID:(NSString*)questionID answerContent:(NSString*)content;
335-(
ZoomSDKError)dismissQuestionWithQuestionID:(NSString*)questionID;
342-(
ZoomSDKError)reopenQuestionWithQuestionID:(NSString*)questionID;
350-(
ZoomSDKError)commentQuestionWithQuestionID:(NSString*)questionID commentContent:(NSString*)content;
358-(
ZoomSDKError)voteupQuestionWithQuestionID:(NSString*)questionID isEableVokeup:(BOOL)enable;
365-(
ZoomSDKError)enableAnonnymousSendQuestion:(BOOL)enable;
399-(BOOL)isQAVoteupEnable;
405-(BOOL)isQACommentEnabled;
411-(BOOL)isAllowAskQuestionAnonymously;
417-(BOOL)isAttendeeCanViewAllQuestions;
444-(int)getOpenQuestionCount;
450-(int)getDismissedQuestionCount;
456-(int)getAnsweredQuestionCount;
462-(int)getMyQuestionCount;
482- (BOOL)isQALegalNoticeAvailable;
488- (NSString *)getQALegalNoticesPrompt;
494- (NSString *)getQALegalNoticesExplained;
ZoomSDKQAConnectStatus
Enumerations of Q&A connect status.
AttendeeViewQuestionType
Enumerations of attendee view question type.
ZoomSDKError
Enumeration of common errors of SDK.
NSString * getSendName()
Get the senderName of the send answer.
NSString * getAnswerID()
Get the answer ID.
NSString * getQuestionId()
Get the question ID.
NSString * getAnswerContent()
Get the answer content.
BOOL isLiveAnswer()
Get the answer is live.
time_t getTimeStamp()
Get the timestamps of the current answer.
BOOL isSenderMyself()
Get the question answer is send myself.
BOOL isPrivate()
Get the answer is private.
id< ZoomSDKQAControllerDelegate > _delegate
BOOL isMarkedAsDismissed()
Get the question is marked as dismissed.
BOOL hasLiveAnswers()
Get the question has live answer.
NSString * getSendName()
Get the senderName of the send question.
BOOL isAnonymous()
Get the question is anonymous.
BOOL isLiveAnswering()
Get the queestion is answered living.
NSString * getQuestionContent()
Get the question content.
NSString * getQuestionId()
Get the question ID.
BOOL isMarkedAsAnswered()
Get the question is marked as answer.
NSString * getLiveAnswerName()
Get the person name of live answered question.
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.
BOOL isSenderMyself()
Get the question is send by self.
time_t getTimeStamp()
Get the timestamps of the current question.
int upVoteNum()
Get the question vote number.
NSArray * getAnswerList()
Get the question answer list.