Mac SDK
ZoomSDKMeetingActionController.h
1 //
2 // ZoomSDKMeetingActionController.h
3 // ZoomSDK
4 //
5 // Created by TOTTI on 9/1/17.
6 // Copyright © 2017 Zoom Video Communications,Inc. All rights reserved.
7 //
8 #import "ZoomSDKErrors.h"
9 
15 - (ZoomSDKError)cancelSwitch;
20 - (ZoomSDKError)confirmSwitch;
21 @end
22 
26 @interface ZoomSDKChatInfo : NSObject
27 {
28  unsigned int _sendID;
29  unsigned int _receiverID;
30  NSString* _sendName;
31  NSString* _receiverName;
32  NSString* _content;
33  time_t _timestamp;
34  BOOL _isChatToWaitingRoom;
35  ZoomSDKChatMessageType _chatMessageType;
36 }
41 - (unsigned int)getSenderUserID;
46 - (NSString*)getSenderDisplayName;
51 - (unsigned int)getReceiverUserID;
56 - (NSString*)getReceiverDisplayName;
61 - (NSString*)getMsgContent;
66 - (time_t)getTimeStamp;
71 -(BOOL)isChatToWaitingRoom;
76 -(ZoomSDKChatMessageType)getChatMessageType;
77 @end
81 @interface ZoomSDKUserAudioStauts : NSObject
82 {
83  unsigned int _userID;
84  ZoomSDKAudioStatus _status;
85  ZoomSDKAudioType _type;
86 }
91 - (unsigned int)getUserID;
96 - (ZoomSDKAudioStatus)getStatus;
101 - (ZoomSDKAudioType)getType;
102 @end
106 @interface ZoomSDKWebinarAttendeeStatus : NSObject
107 {
108  BOOL _isAttendeeCanTalk;
109 }
110 @property(nonatomic, assign)BOOL isAttendeeCanTalk;
111 @end
115 @interface ZoomSDKUserInfo :NSObject
116 {
117  unsigned int _userID;
118 }
123 - (BOOL)isMySelf;
128 - (NSString*)getUserName;
133 - (unsigned int)getUserID;
138 - (BOOL)isHost;
143 - (BOOL)isVideoOn;
148 - (BOOL)isAudioMuted NS_DEPRECATED_MAC(1.0, 4.6);
153 - (ZoomSDKAudioStatus)getAudioStatus;
158 - (ZoomSDKAudioType)getAudioType;
163 - (UserRole)getUserRole;
168 - (BOOL)isPurePhoneUser;
173 - (BOOL)isH323User;
178 - (BOOL)canBeCoHost;
183 - (ZoomSDKWebinarAttendeeStatus*)GetWebinarAttendeeStatus;
184 
189 - (BOOL)isTalking;
190 
195 - (NSString *)getParticipantID;
196 
201 - (BOOL)isInterpreter;
202 
207 - (NSString *)getInterpreterActiveLanguage;
208 @end
212 @interface ZoomSDKJoinMeetingHelper :NSObject
213 {
214  JoinMeetingReqInfoType _reqInfoType;
215 }
220 -(JoinMeetingReqInfoType)getReqInfoType;
226 -(ZoomSDKError)inputPassword:(NSString*)password;
231 -(ZoomSDKError)cancel;
232 @end
233 
234 
236 
242 - (void)onUserAudioStatusChange:(NSArray*)userAudioStatusArray;
243 
249 - (void)onChatMessageNotification:(ZoomSDKChatInfo*)chatInfo;
250 
256 - (void)onUserJoin:(NSArray*)array;
257 
263 - (void)onUserLeft:(NSArray*)array;
264 
270 - (void)onUserInfoUpdate:(unsigned int)userID;
271 
277 - (void)onHostChange:(unsigned int)userID;
278 
284 - (void)onCoHostChange:(unsigned int)userID;
285 
292 - (void)onSpotlightVideoUserChange:(BOOL)spotlight User:(unsigned int)userID;
293 
300 - (void)onVideoStatusChange:(ZoomSDKVideoStatus)videoStatus UserID:(unsigned int)userID;
307 - (void)onLowOrRaiseHandStatusChange:(BOOL)raise UserID:(unsigned int)userID;
308 
313 - (void)onJoinMeetingResponse:(ZoomSDKJoinMeetingHelper*)joinMeetingHelper;
314 
320 - (void)onActiveSpeakerChanged:(unsigned int)userID NS_DEPRECATED_MAC(4.1, 4.6);
321 
326 - (void)onMultiToSingleShareNeedConfirm:(ZoomSDKMultiToSingleShareConfirmHandler*)confirmHandle;
331 - (void)onActiveVideoUserChanged:(unsigned int)userID;
336 - (void)onActiveSpeakerVideoUserChanged:(unsigned int)userID;
340 - (void)onHostAskUnmute;
344 - (void)onHostAskStartVideo;
349 - (void)onUserActiveAudioChanage:(NSArray *)useridArray;
350 
356 -(void)onUserNameChanged:(unsigned int)userid userName:(NSString *)userName;
357 
358 @end
359 
360 @interface ZoomSDKMeetingActionController : NSObject
361 {
362  id<ZoomSDKMeetingActionControllerDelegate> _delegate;
363 // NSMutableArray* _participantsArray;
364 }
365 @property(nonatomic, assign) id<ZoomSDKMeetingActionControllerDelegate> delegate;
366 
371 - (NSArray*)getParticipantsList;
379 - (ZoomSDKError)actionMeetingWithCmd:(ActionMeetingCmd)cmd userID:(unsigned int)userID onScreen:(ScreenType)screen;
380 
387 - (ZoomSDKError)sendChat:(NSString*)content toUser:(unsigned int)userID;
388 
394 - (ZoomSDKUserInfo*)getUserByUserID:(unsigned int)userID;
395 
402 - (ZoomSDKError)changeUserName:(unsigned int)userID newName:(NSString*)name;
403 
409 - (ZoomSDKError)makeHost:(unsigned int)userID;
410 
417 - (ZoomSDKError)raiseHand:(BOOL)raise UserID:(unsigned int)userid;
418 
424 - (ZoomSDKError)expelUser:(unsigned int)userid;
425 
431 - (ZoomSDKError)startCMR:(BOOL)start;
432 
440 - (ZoomSDKError)getMeetingUIType:(ScreenType)type isFullScreen:(BOOL*)bFullScreen meetingUIType:(MeetingUIType*)meetingUIType;
441 
448 - (ZoomSDKError)allowLocalRecord:(BOOL)allow UserID:(unsigned int)userid;
449 
454 - (BOOL)canReclaimHost;
460 - (ZoomSDKError)claimHostByKey:(NSString*)hostKey;
467 -(ZoomSDKError)assignCoHost:(unsigned int)userid;
468 
475 -(ZoomSDKError)revokeCoHost:(unsigned int)userid;
476 
482 -(ZoomSDKError)setShareSettingType:(ZoomSDKShareSettingType)shareType;
483 
489 - (ZoomSDKError)getShareSettingType:(ZoomSDKShareSettingType*)type;
490 
495 - (BOOL)isUseOriginalSoundOn;
496 
502 - (ZoomSDKError)enableUseOriginalSound:(BOOL)enable;
503 
508 - (BOOL)isSupportUseOriginalSound;
509 
516 - (ZoomSDKError)swapToShowShareViewOrVideo:(BOOL)share;
517 
522 - (BOOL)canSwapToShowShareViewOrVideo;
523 
528 - (BOOL)isDisplayingShareViewOrVideo;
529 
535 - (ZoomSDKError)setMeetingTopicOnMeetingInfo:(NSString *)topic;
536 
541 -(BOOL)isParticipantsShareAllowed;
542 
548 - (ZoomSDKError)allowParticipantsToShare:(BOOL)allow;
549 
554 -(BOOL)isParticipantsChatAllowed;
555 
561 - (ZoomSDKError)allowParticipantsToChat:(BOOL)allow;
562 
567 -(BOOL)isParticipantsRenameAllowed;
568 
574 - (ZoomSDKError)allowParticipantsToRename:(BOOL)allow;
575 @end
ZoomSDKUserAudioStauts
ZOOM SDK audio information.
Definition: ZoomSDKMeetingActionController.h:82
-[ZoomSDKMultiToSingleShareConfirmHandler confirmSwitch]
ZoomSDKError confirmSwitch()
Confirm to switch to single share from multi-share. All the shares are stopped.
ZoomSDKJoinMeetingHelper
Join meeting helper.
Definition: ZoomSDKMeetingActionController.h:213
ZoomSDKMeetingActionControllerDelegate-p
Definition: ZoomSDKMeetingActionController.h:235
-[ZoomSDKMeetingActionControllerDelegate-p onHostAskStartVideo]
void onHostAskStartVideo()
Notify that host ask you to start video.
-[ZoomSDKMultiToSingleShareConfirmHandler cancelSwitch]
ZoomSDKError cancelSwitch()
Cancel to switch to single share from multi-share. All the shares are remained.
ZoomSDKUserInfo
ZOOM SDK user information.
Definition: ZoomSDKMeetingActionController.h:116
ZoomSDKWebinarAttendeeStatus
ZOOM SDK Attendee's status in the webinar.
Definition: ZoomSDKMeetingActionController.h:107
ZoomSDKChatInfo
ZOOM SDK chat information.
Definition: ZoomSDKMeetingActionController.h:27
ZoomSDKMeetingActionController
Definition: ZoomSDKMeetingActionController.h:361
-[ZoomSDKMeetingActionControllerDelegate-p onHostAskUnmute]
void onHostAskUnmute()
Notify that host ask you to unmute yourself.
ZoomSDKMultiToSingleShareConfirmHandler
Definition: ZoomSDKMeetingActionController.h:11