Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKMeetingActionController.h
Go to the documentation of this file.
1
7#import <ZoomSDK/ZoomSDKErrors.h>
8#import <ZoomSDK/ZoomSDKMeetingChatController.h>
9NS_ASSUME_NONNULL_BEGIN
10
16@interface ZoomSDKGrantCoOwnerAssetsInfo : NSObject
20@property (assign, nonatomic) BOOL isGranted;
24@property (assign,nonatomic, readonly) ZoomSDKGrantCoOwnerAssetsType assetType;
28@property (assign,nonatomic, readonly) BOOL isAssetsLocked;
29@end
30
40- (ZoomSDKError)cancelSwitch;
45- (ZoomSDKError)confirmSwitch;
46@end
47
52@interface ZoomSDKChatInfo : NSObject
53{
54 unsigned int _sendID;
55 unsigned int _receiverID;
56 NSString* _sendName;
57 NSString* _receiverName;
58 NSString* _content;
59 time_t _timestamp;
62}
67- (unsigned int)getSenderUserID;
72- (NSString*)getSenderDisplayName;
77- (unsigned int)getReceiverUserID;
82- (NSString*)getReceiverDisplayName;
87- (NSString*)getMsgContent;
92- (time_t)getTimeStamp;
97- (BOOL)isChatToWaitingRoom;
102- (ZoomSDKChatMessageType)getChatMessageType;
107- (NSString*)getMessageID;
108
113- (BOOL)isComment;
114
119- (BOOL)isThread;
120
125- (NSArray<ZoomSDKRichTextStyleItem *> *_Nullable)getTextStyleItemList DEPRECATED_MSG_ATTRIBUTE("No longer used");
126
131- (NSArray<ZoomSDKChatMsgSegmentDetails *> *_Nullable)getSegmentDetails;
132
137- (NSString*)getThreadID;
138@end
139
148@property (assign,nonatomic,readonly) BOOL canChat;
152@property (assign,nonatomic,readonly) BOOL canChatToAll;
156@property (assign,nonatomic,readonly) BOOL canChatToIndividual;
160@property (assign,nonatomic,readonly) BOOL isOnlyCanChatToHost;
161@end
162
171@property (assign,nonatomic,readonly) BOOL canChat;
175@property (assign,nonatomic,readonly) BOOL canChatToAllPanellistAndAttendee;
179@property (assign,nonatomic,readonly) BOOL canChatToAllPanellist;
180@end
181
190@property (assign,nonatomic,readonly) BOOL canChatToAllPanellist;
194@property (assign,nonatomic,readonly) BOOL canChatToAllPanellistAndAttendee;
198@property (assign,nonatomic,readonly) BOOL canChatToIndividual;
199@end
200
205@interface ZoomSDKChatStatus : NSObject
210- (ZoomSDKNormalMeetingChatPrivilege *)getNormalMeetingPrivilege;
215- (ZoomSDKWebinarAttendeeChatPrivilege *)getWebinarAttendeePrivilege;
220- (ZoomSDKWebinarPanelistChatPrivilege *)getWebinarPanelistPrivilege;
225- (BOOL)isSupportChat;
230- (BOOL)isWebinarAttendee;
235- (BOOL)isWebinarMeeting;
236@end
237
242@interface ZoomSDKUserAudioStatus : NSObject
243{
244 unsigned int _userID;
247}
252- (unsigned int)getUserID;
257- (ZoomSDKAudioStatus)getStatus;
262- (ZoomSDKAudioType)getType;
263@end
264
265
270@interface ZoomSDKWebinarAttendeeStatus : NSObject
271{
273}
277@property(nonatomic, assign)BOOL isAttendeeCanTalk;
278@end
279
280
285@interface ZoomSDKVirtualNameTag : NSObject
289@property (nonatomic, assign) int tagID;
290
294@property (nonatomic, copy, nullable) NSString *tagName;
295@end
296
297
302@interface ZoomSDKUserInfo :NSObject
303{
304 unsigned int _userID;
305}
310- (BOOL)isMySelf;
315- (NSString*_Nullable)getUserName;
320- (unsigned int)getUserID;
321
326- (NSString*_Nullable)getAvatarPath;
327
332- (BOOL)isHost;
337- (BOOL)isVideoOn;
338
343- (ZoomSDKAudioStatus)getAudioStatus;
348- (ZoomSDKAudioType)getAudioType;
353- (UserRole)getUserRole;
358- (BOOL)isPurePhoneUser;
363- (BOOL)isH323User;
368- (BOOL)canBeCoHost;
369
374- (BOOL)canBeCoOwner;
375
380- (ZoomSDKWebinarAttendeeStatus*_Nullable)GetWebinarAttendeeStatus;
381
386- (BOOL)isTalking;
387
392- (NSString *_Nullable)getCustomerKey;
393
398- (BOOL)isInterpreter;
399
404- (BOOL)isSignLanguageInterpreter;
405
410- (NSString *_Nullable)getInterpreterActiveLanguage;
411
416- (BOOL)isRaisingHand;
417
422- (ZoomSDKRecordingStatus)getLocalRecordingStatus;
423
428- (NSString *_Nullable)getPersistentId;
429
434- (BOOL)isRawLiveStreaming;
435
440- (BOOL)hasRawLiveStreamPrivilege;
441
446- (ZoomSDKEmojiFeedbackType)getEmojiFeedbackType;
447
452- (BOOL)hasCamera;
453
458- (BOOL)isInWaitingRoom;
459
464- (BOOL)isInWebinarBackstage;
465
470- (BOOL)isClosedCaptionSender;
471
476- (BOOL)isProductionStudioUser;
477
482- (unsigned int)getProductionStudioParent;
483
488- (BOOL)isBotUser;
489
494- (NSString * _Nullable)getBotAppName;
495
500- (BOOL)isVirtualNameTagEnabled;
501
506- (nullable NSArray<ZoomSDKVirtualNameTag*> *)getVirtualNameTagArray;
507
512- (BOOL)isCompanionModeUser;
513
519- (NSArray <ZoomSDKGrantCoOwnerAssetsInfo *>* _Nullable)getGrantCoOwnerAssetsInfo;
520@end
521
522
523
528@interface ZoomSDKJoinMeetingHelper :NSObject
529{
531}
536- (JoinMeetingReqInfoType)getReqInfoType;
542- (ZoomSDKError)inputPassword:(NSString*)password;
543
549- (ZoomSDKError)inputMeetingScreenName:(NSString*)screenName;
550
555- (ZoomSDKError)cancel;
556@end
557
558
563@protocol ZoomSDKMeetingActionControllerDelegate <NSObject>
564
569- (void)onUserAudioStatusChange:(NSArray*)userAudioStatusArray;
570
576- (void)onUserJoin:(NSArray*)array;
577
582- (void)onUserLeft:(NSArray*)array;
583
589- (void)onUserInfoUpdate:(unsigned int)userID DEPRECATED_MSG_ATTRIBUTE("No longer used");
590
596- (void)onVirtualNameTagStatusChanged:(BOOL)bOn userID:(unsigned int)userID;
597
602- (void)onVirtualNameTagRosterInfoUpdated:(unsigned int)userID;
603
609- (void)onHostChange:(unsigned int)userID;
610
616- (void)onMeetingCoHostChanged:(unsigned int)userID isCoHost:(BOOL)isCoHost;
617
622- (void)onSpotlightVideoUserChange:(NSArray*_Nullable)spotlightedUserList;
623
630- (void)onVideoStatusChange:(ZoomSDKVideoStatus)videoStatus UserID:(unsigned int)userID;
636- (void)onLowOrRaiseHandStatusChange:(BOOL)raise UserID:(unsigned int)userID;
637
642- (void)onJoinMeetingResponse:(ZoomSDKJoinMeetingHelper*_Nullable)joinMeetingHelper;
643
648- (void)onMultiToSingleShareNeedConfirm:(ZoomSDKMultiToSingleShareConfirmHandler*_Nullable)confirmHandle;
653- (void)onActiveVideoUserChanged:(unsigned int)userID;
658- (void)onActiveSpeakerVideoUserChanged:(unsigned int)userID;
662- (void)onHostAskUnmute;
666- (void)onHostAskStartVideo;
671- (void)onUserActiveAudioChange:(NSArray *)useridArray;
672
678- (void)onUserNamesChanged:(NSArray<NSNumber*>*)userList;
679
683- (void)onInvalidReclaimHostKey;
684
689- (void)onHostVideoOrderUpdated:(NSArray*)orderList;
690
695- (void)onLocalVideoOrderUpdated:(NSArray*)localOrderList;
696
701- (void)onFollowHostVideoOrderChanged:(BOOL)follow;
702
706- (void)onAllHandsLowered;
707
713- (void)onUserVideoQualityChanged:(ZoomSDKVideoQuality)quality userID:(unsigned int)userID;
714
720- (void)onChatMsgDeleteNotification:(NSString*)msgID messageDeleteType:(ZoomSDKChatMessageDeleteType)deleteBy;
721
726- (void)onChatStatusChangedNotification:(ZoomSDKChatStatus *)chatStatus;
727
732- (void)onShareMeetingChatStatusChanged:(BOOL)isStart;
733
737- (void)onSuspendParticipantsActivities;
738
743- (void)onAllowParticipantsStartVideoNotification:(BOOL)allow;
744
749- (void)onAllowParticipantsRenameNotification:(BOOL)allow;
750
755- (void)onAllowParticipantsUnmuteSelfNotification:(BOOL)allow;
756
761- (void)onAllowParticipantsShareWhiteBoardNotification:(BOOL)allow;
762
767- (void)onMeetingLockStatus:(BOOL)isLock;
768
773- (void)onRequestLocalRecordingPrivilegeChanged:(ZoomSDKLocalRecordingRequestPrivilegeStatus)status;
774
779- (void)onAllowParticipantsRequestCloudRecording:(BOOL)allow;
784- (void)onInMeetingUserAvatarPathUpdated:(unsigned int)userID;
785
790- (void)onAICompanionActiveChangeNotice:(BOOL)active;
791
796- (void)onParticipantProfilePictureStatusChange:(BOOL)hidden;
797
802- (void)onVideoAlphaChannelStatusChanged:(BOOL)isAlphaModeOn;
803
808- (void)onFocusModeStateChanged:(BOOL)on;
809
814- (void)onFocusModeShareTypeChanged:(ZoomSDKFocusModeShareType)shareType;
815
820- (void)onMeetingQAStatusChanged:(BOOL)isMeetingQAFeatureOn;
821
826 - (void)notifyToJoin3rdPartyTelephonyAudio:(NSString*)audioInfo;
827
835- (void)onCameraControlRequestReceived:(unsigned int)userId requestType:(ZoomSDKCameraControlRequestType)requestType actionApprove:(nullable ZoomSDKError(^)(void))actionApprove actionDecline:(nullable ZoomSDKError(^)(void))actionDecline;
836
842- (void)onCameraControlRequestResult:(unsigned int)userId resultType:(ZoomSDKCameraControlRequestResult)resultType;
843
848- (void)onMuteOnEntryStatusChange:(BOOL)enable;
849
854- (void)onMeetingTopicChanged:(NSString *)topic;
855
860- (void)onBotAuthorizerRelationChanged:(unsigned int)authorizeUserID;
861
867- (void)onCreateCompanionRelation:(unsigned int)parentUserID childUserID:(unsigned int)childUserID;
868
873- (void)onRemoveCompanionRelation:(unsigned int)childUserID;
874
879- (void)onGrantCoOwnerPrivilegeChanged:(BOOL)canGrantOther;
880@end
881
882
888{
889 id<ZoomSDKMeetingActionControllerDelegate> _delegate;
890}
894@property(nonatomic, assign, nullable) id<ZoomSDKMeetingActionControllerDelegate> delegate;
895
900- (NSArray*_Nullable)getParticipantsList;
908- (ZoomSDKError)actionMeetingWithCmd:(ActionMeetingCmd)cmd userID:(unsigned int)userID onScreen:(ScreenType)screen;
909
915- (ZoomSDKUserInfo*_Nullable)getUserByUserID:(unsigned int)userID;
916
921- (ZoomSDKUserInfo*_Nullable)getMyself;
922
929- (ZoomSDKError)changeUserName:(unsigned int)userID newName:(NSString*)name;
930
936- (ZoomSDKError)makeHost:(unsigned int)userID;
937
944- (ZoomSDKError)raiseHand:(BOOL)raise UserID:(unsigned int)userid;
945
951- (ZoomSDKError)expelUser:(unsigned int)userid;
952
959- (ZoomSDKError)allowLocalRecord:(BOOL)allow UserID:(unsigned int)userid;
960
965- (BOOL)isSelfOriginalHost;
966
971- (BOOL)canReclaimHost;
972
977- (ZoomSDKError)reclaimHost;
983- (ZoomSDKError)claimHostByKey:(NSString*)hostKey;
990- (ZoomSDKError)assignCoHost:(unsigned int)userid;
991
998- (ZoomSDKError)revokeCoHost:(unsigned int)userid;
999
1005- (ZoomSDKError)setShareSettingType:(ZoomSDKShareSettingType)shareType;
1006
1012- (ZoomSDKError)getShareSettingType:(ZoomSDKShareSettingType*)type;
1013
1018- (BOOL)isUseOriginalSoundOn;
1019
1025- (ZoomSDKError)enableUseOriginalSound:(BOOL)enable;
1026
1031- (BOOL)isSupportUseOriginalSound;
1032
1039- (ZoomSDKError)swapToShowShareViewOrVideo:(BOOL)share;
1040
1045- (BOOL)canSwapBetweenShareViewOrVideo;
1046
1052- (ZoomSDKError)isDisplayingShareViewOrVideo:(BOOL*)isShowingShareView;
1053
1060- (ZoomSDKError)setMeetingTopicOnMeetingInfo:(NSString *)topic DEPRECATED_MSG_ATTRIBUTE("No longer used");
1061
1066- (BOOL)canSetMeetingTopic;
1067
1073- (ZoomSDKError)setMeetingTopic:(NSString *)topic;
1074
1079- (BOOL)canEnableMuteOnEntry;
1080
1085- (BOOL)isMuteOnEntryEnabled;
1086
1091- (BOOL)isParticipantsShareAllowed;
1092
1098- (ZoomSDKError)allowParticipantsToShare:(BOOL)allow;
1099
1104- (BOOL)isParticipantsChatAllowed;
1105
1111- (ZoomSDKError)allowParticipantsToChat:(BOOL)allow;
1112
1117- (BOOL)isParticipantsRenameAllowed;
1118
1124- (ZoomSDKError)allowParticipantsToRename:(BOOL)allow;
1125
1132- (ZoomSDKError)canSpotlight:(unsigned int)userID result:(ZoomSDKSpotlightResult*)result;
1133
1140- (ZoomSDKError)canUnSpotlight:(unsigned int)userID result:(ZoomSDKSpotlightResult*)result;
1141
1147- (ZoomSDKError)spotlightVideo:(unsigned int)userID;
1148
1154- (ZoomSDKError)unSpotlightVideo:(unsigned int)userID;
1155
1160- (ZoomSDKError)unSpotlightAllVideos;
1161
1166- (NSArray*_Nullable)getSpotlightedUserList;
1167
1174- (ZoomSDKError)canPinToFirstView:(unsigned int)userID result:(ZoomSDKPinResult*)result;
1175
1181- (ZoomSDKError)pinVideoToFirstView:(unsigned int)userID;
1182
1188- (ZoomSDKError)unPinVideoFromFirstView:(unsigned int)userID;
1189
1194- (ZoomSDKError)unPinAllVideosFromFirstView;
1195
1200- (NSArray*_Nullable)getPinnedUserListFromFirstView;
1201
1208- (ZoomSDKError)canPinToSecondView:(unsigned int)userID result:(ZoomSDKPinResult*)result;
1209
1215- (ZoomSDKError)pinVideoToSecondView:(unsigned int)userID;
1216
1222- (ZoomSDKError)unPinVideoFromSecondView:(unsigned int)userID;
1223
1228- (NSArray*_Nullable)getPinnedUserListFromSecondView;
1229
1234- (BOOL)isParticipantsUnmuteSelfAllowed;
1235
1240- (BOOL)isMeetingChatLegalNoticeAvailable;
1241
1246- (NSString *)getChatLegalNoticesPrompt;
1247
1252- (NSString *)getChatLegalNoticesExplained;
1253
1258- (ZoomSDKError)enableFollowHostVideoOrder:(BOOL)enable;
1259
1265- (ZoomSDKError)setVideoOrder:(NSArray<NSNumber*>*)orderList;
1266
1271- (BOOL)isFollowHostVideoOrderOn;
1272
1277- (BOOL)isSupportFollowHostVideoOrder;
1278
1283- (NSArray<NSNumber*>*_Nullable)getVideoOrderList;
1284
1292- (ZoomSDKError)lowerAllHands:(BOOL)forWebinarAttendees;
1293
1299- (BOOL)isChatMessageCanBeDeleted:(NSString*)msgID;
1300
1306- (ZoomSDKError)deleteChatMessage:(NSString*)msgID;
1307
1312- (NSArray<NSString*>*_Nullable)getAllChatMessageID;
1313
1319- (ZoomSDKError)setParticipantsChatPrivilege:(ZoomSDKChatPrivilegeType)privilege;
1320
1325- (ZoomSDKChatStatus *_Nullable)getChatStatus;
1326
1331- (BOOL)isShareMeetingChatLegalNoticeAvailable;
1332
1337- (NSString*)getShareMeetingChatStartedLegalNoticeContent;
1338
1343- (NSString*)getShareMeetingChatStoppedLegalNoticeContent;
1344
1350- (ZoomSDKError)stopIncomingAudio:(BOOL)stop;
1351
1356- (BOOL)isIncomingAudioStopped;
1357
1363- (ZoomSDKError)stopIncomingVideo:(BOOL)stop;
1364
1369- (BOOL)isIncomingVideoStopped;
1370
1376- (ZoomSDKError)showAvatar:(BOOL)show;
1377
1382- (BOOL)isShowAvatar;
1383
1389- (ZoomSDKError)allowParticipantsToStartVideo:(BOOL)bAllow;
1390
1395- (BOOL)isParticipantsStartVideoAllowed;
1396
1402- (ZoomSDKError)allowParticipantsToShareWhiteBoard:(BOOL)bAllow;
1403
1408- (BOOL)isParticipantsShareWhiteBoardAllowed;
1409
1414- (BOOL)isParticipantRequestLocalRecordingAllowed;
1415
1421- (ZoomSDKError)allowParticipantsToRequestLocalRecording:(BOOL)bAllow;
1422
1427- (BOOL)isAutoAllowLocalRecordingRequest;
1428
1434- (ZoomSDKError)autoAllowLocalRecordingRequest:(BOOL)bAllow;
1435
1440- (BOOL)canSuspendParticipantsActivities;
1441
1446- (ZoomSDKError)suspendParticipantsActivities;
1447
1453- (ZoomSDKError)canHideParticipantProfilePictures;
1454
1459- (BOOL)isParticipantProfilePicturesHidden;
1460
1466- (ZoomSDKError)hideParticipantProfilePictures:(BOOL)hide;
1467
1472- (BOOL)canEnableAlphaChannelMode;
1473
1479- (ZoomSDKError)enableAlphaChannelMode:(BOOL)enabled;
1480
1485- (BOOL)isAlphaChannelModeEnabled;
1486
1491- (BOOL)isFocusModeEnabled;
1492
1498- (ZoomSDKError)turnFocusModeOn:(BOOL)on;
1499
1504- (BOOL)isFocusModeOn;
1505
1510- (ZoomSDKFocusModeShareType)getFocusModeShareType;
1511
1517- (ZoomSDKError)setFocusModeShareType:(ZoomSDKFocusModeShareType)shareType;
1518
1524- (ZoomSDKError)enableMeetingQAFeature:(BOOL)enable;
1525
1530- (BOOL)isMeetingQAFeatureOn;
1535- (BOOL)canEnableParticipantRequestCloudRecording;
1536
1541- (BOOL)isParticipantRequestCloudRecordingAllowed;
1542
1548- (ZoomSDKError)allowParticipantsToRequestCloudRecording:(BOOL)allow;
1549
1554- (BOOL)is3rdPartyTelephonyAudioOn;
1555
1561- (ZoomSDKUserInfo * _Nullable)getBotAuthorizedUserInfoByUserID:(unsigned int)userId;
1562
1568- (NSArray<NSNumber*>* _Nullable)getAuthorizedBotListByUserID:(unsigned int)userId;
1569
1574- (BOOL)isSupportVirtualNameTag;
1575
1581- (ZoomSDKError)enableVirtualNameTag:(BOOL)bEnabled;
1582
1589- (ZoomSDKError)updateVirtualNameTagRosterInfo:(NSArray<ZoomSDKVirtualNameTag*>*)userRoster;
1590
1595- (BOOL)isPlayMeetingAudioEnabled;
1596
1602- (ZoomSDKError)enablePlayMeetingAudio:(BOOL)bEnabled;
1603
1608- (BOOL)isSpeakerContrastEnhanceEnabled;
1609
1615- (ZoomSDKError)enableSpeakerContrastEnhance:(BOOL)bEnabled;
1616
1622- (ZoomSDKUserInfo* _Nullable)getCompanionParentUser:(unsigned int)userid;
1623
1629- (NSArray<NSNumber*>* _Nullable)getCompanionChildList:(unsigned int)userid;
1630
1639- (ZoomSDKError)assignCoHostWithAssetsPrivilege:(unsigned int)userid infoList:(NSArray<ZoomSDKGrantCoOwnerAssetsInfo *>*)infoList;
1640
1649- (ZoomSDKError)makeHostWithAssetsPrivilege:(unsigned int)userid infoList:(NSArray<ZoomSDKGrantCoOwnerAssetsInfo *>*)infoList;
1650@end
1651NS_ASSUME_NONNULL_END
UserRole
Enumeration of user roles.
ZoomSDKAudioStatus
Enumeration of Audio status.
ZoomSDKChatMessageDeleteType
Enumeration of the chat message delete type.
ZoomSDKVideoStatus
Enumeration of the status of a user's video.
ZoomSDKEmojiFeedbackType
Enumeration of emoji feedback types.
ZoomSDKRecordingStatus
Enumeration of Recording status.
ZoomSDKGrantCoOwnerAssetsType
Enumeration of asset type.
ZoomSDKSpotlightResult
Enumeration of the spotlight operation result.
ZoomSDKCameraControlRequestResult
Enumeration of the results of a camera control request.
ZoomSDKChatPrivilegeType
Enumeration of the privilege for attendee chat.
ZoomSDKFocusModeShareType
Enumeration of the focus mode share type. For more information, please visit https://support....
ZoomSDKPinResult
Enumeration of the result of a pin operation.
JoinMeetingReqInfoType
Join meeting with required information.
ZoomSDKAudioType
Enumeration of the type of a user's audio connection.
ScreenType
Enumeration of screen types for multi-sharing.
ZoomSDKError
Enumeration of common errors of SDK.
ZoomSDKChatMessageType
Enumeration of the type for chat message.
ZoomSDKVideoQuality
Enumeration of video quality.
ZoomSDKShareSettingType
Enumeration of sharing types.
ActionMeetingCmd
Enumeration of all the commands in the meeting.
ZoomSDKLocalRecordingRequestPrivilegeStatus
Enumeration of local recording request privilege settings.
ZoomSDKCameraControlRequestType
Enumeration of camera control requests types.
Represents a chat message in the meeting.
ZoomSDKChatMessageType _chatMessageType
Define detailed attributes for a chat message segment.
Provides access to the chat privileges for different user roles in a meeting or webinar.
This class provides properties to specify and manage the privileges associated with different types o...
BOOL isAssetsLocked
Indicates whether the asset is locked, preventing any modifications. This is a read-only property.
BOOL isGranted
Indicates whether the specified privilege is granted for managing the asset. This is a writable prope...
ZoomSDKGrantCoOwnerAssetsType assetType
Specifies the type of asset (such as smart summary, cloud recording) for which the privilege applies....
Helper interface for handling the process of joining a meeting, such as inputting password or display...
Interface for managing participant-related actions in a meeting, such as retrieving participant list,...
id< ZoomSDKMeetingActionControllerDelegate > _delegate
Handles confirmation for switching from multi-share to single-share mode during screen sharing.
Represents the chat privileges of a participant in a normal meeting.
Represents a rich-text style and associated style ranges.
Represents a user's audio connection status and audio type in the meeting.
Provides detailed information about a user in a meeting.
Represents a virtual name tag.
Represents the chat privileges of a webinar attendee in a meeting.
Represents the webinar attendee status in a meeting.
Represents the chat privileges of a webinar panelist in a meeting.