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;
343- (
ZoomSDKError)addQuestionWithQuestionContent:(NSString*)content isAnonymous:(BOOL)Anonymous;
351- (
ZoomSDKError)answerQuestionPrivateWithQuestionID:(NSString*)questionID answerContent:(NSString*)content;
359- (
ZoomSDKError)answerQuestionPublicWithQuestionID:(NSString*)questionID answerContent:(NSString*)content;
381- (
ZoomSDKError)commentQuestionWithQuestionID:(NSString*)questionID commentContent:(NSString*)content;
389- (
ZoomSDKError)voteupQuestionWithQuestionID:(NSString*)questionID isEableVokeup:(BOOL)enable;
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.
NSString * getQALegalNoticesExplained()
Gets the QA legal notices explained.
NSArray *_Nullable getMyQuestionList()
Gets my question list.
id< ZoomSDKQAControllerDelegate > delegate
Delegate to receive Q&A-related callback events.
NSArray *_Nullable getOpenQuestionList()
Gets open question list.
BOOL isAllowAskQuestionAnonymously()
Determines if the ask question anonymous is allowed by the host or co-host.
id< ZoomSDKQAControllerDelegate > _delegate
BOOL isQAEnable()
Q&A function is available.
BOOL isAskQuestionEnabled()
Determines if the ask question is allowed by the host or co-host.
NSString * getQALegalNoticesPrompt()
Gets the QA legal notices prompt.
NSArray *_Nullable getAllQuestionList()
Gets all question list.
NSArray *_Nullable getAnsweredQuestionList()
Gets anwered question list.
BOOL isQAVoteupEnable()
Determines if the Q&A vote is allowed by the host or co-host.
BOOL isAttendeeCanViewAllQuestions()
Determines if the Q&A attendee can view all question.
BOOL isQALegalNoticeAvailable()
Determines whether the legal notice for QA is available.
NSArray *_Nullable getDismissedQuestionList()
Gets dismissed question list.
int getDismissedQuestionCount()
Gets dismiss question count.
int getMyQuestionCount()
Gets my question count.
int getAnsweredQuestionCount()
Gets answered question count.
BOOL isQACommentEnabled()
Determines if the Q&A comment is allowed by the host or co-host.
int getOpenQuestionCount()
Gets open question count.
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.