Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKChatHelper.h
Go to the documentation of this file.
1
5
6#import <Foundation/Foundation.h>
7
9
14@interface ZoomVideoSDKChatMessage : NSObject
15
19@property (nonatomic, strong) NSString * _Nullable messageID;
23@property (nonatomic, strong) ZoomVideoSDKUser * _Nullable senderUser;
24
28@property (nonatomic, strong) NSString * _Nullable senderName;
29
33@property (nonatomic, strong) ZoomVideoSDKUser * _Nullable receiverUser;
34
38@property (nonatomic, strong) NSString * _Nullable content;
42@property (nonatomic, assign) long long timeStamp;
46@property (nonatomic, assign) BOOL isChatToAll;
50@property (nonatomic, assign) BOOL isSelfSend;
51
52@end
53
58@interface ZoomVideoSDKChatHelper : NSObject
59
60
67- (ZoomVideoSDKError)SendChatToUser:(ZoomVideoSDKUser * _Nullable)user Content:(NSString * _Nullable)content;
68
74- (ZoomVideoSDKError)SendChatToAll:(NSString * _Nullable)content;
75
81- (BOOL)canChatMessageBeDeleted:(NSString *__nonnull)msgID;
82
89- (ZoomVideoSDKError)deleteChatMessage:(NSString * __nonnull)msgID;
90
96
102
109- (ZoomVideoSDKError)changeChatPrivilege:(ZoomVideoSDKChatPrivilegeType)privilege;
110
116
117
118@end
ZoomVideoSDKChatPrivilegeType
Enumeration of chat privilege types.
ZoomVideoSDKError
Enumeration of all the errors in the VideoSDK.
A class to operate the instant message in session.
BOOL IsPrivateChatDisabled()
Determines whether private chat is disabled.
BOOL IsChatDisabled()
Determines whether chat is disabled.
ZoomVideoSDKChatPrivilegeType getChatPrivilege()
Gets participant chat privilege when in session.
A class that contains all the information for a message.
ZoomVideoSDKUser *_Nullable senderUser
The sender user. When the message is from a broadcast streaming viewer, this returns nil.
BOOL isChatToAll
Determines whether the message is sent to all users.
NSString *_Nullable senderName
The sender's display name. This returns the sender's name for both session users and broadcast stream...
NSString *_Nullable content
The message content.
BOOL isSelfSend
Determines whether the message is sent by me.
ZoomVideoSDKUser *_Nullable receiverUser
The receiver user.
NSString *_Nullable messageID
The message ID.
long long timeStamp
The message sent time in timestamp.
Zoom Video SDK user information.