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()
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.
Provide interfaces to manage Q&A session in Zoom meeting.
id< ZoomSDKQAControllerDelegate > _delegate
Represents a question object in the Q&A module.
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.