6#import <Foundation/Foundation.h>
7#import <MobileRTC/MobileRTCConstants.h>
18@property(nonatomic, copy, nullable) NSString *
messageId;
28@property(nonatomic, strong, nullable) NSDate *
timeStamp;
38@property(nonatomic, assign) NSUInteger
fileSize;
43@property(nonatomic, copy, nullable) NSString *
fileName;
393__attribute__((deprecated(
"This class is deprecated, use MobileRTCSegmentDetails instead")))
403@property (nonatomic, assign) NSInteger positionStart;
415@property (nonatomic, copy) NSString * _Nullable
reserve;
422__attribute__((deprecated(
"This class is deprecated, use MobileRTCSegmentDetails instead")))
440#pragma mark - new chat -
450@property (nonatomic, copy) NSString * _Nullable
content;
526@property (nonatomic, assign) BOOL
bBold;
598@property (nonatomic, assign) BOOL
bQuote;
616#define FontSize_Small 8
617#define FontSize_Medium 10
618#define FontSize_Large 12
644#define kRichTextColor(r,g,b) [UIColor colorWithRed:r/255. green:g/255. blue:b/255. alpha:1.]
655@property (nonatomic, strong) UIColor * _Nullable
color;
677@property (nonatomic, strong) UIColor * _Nullable
color;
684#define TextStyle_Paragraph_H1 @"Paragraph_H1"
685#define TextStyle_Paragraph_H2 @"Paragraph_H2"
686#define TextStyle_Paragraph_H3 @"Paragraph_H3"
709@property (nonatomic, assign) NSInteger
indent;
722@property (nonatomic, copy) NSString * _Nullable
chatId;
727@property (nonatomic, copy) NSString * _Nullable
senderId;
747@property (nonatomic, copy) NSString * _Nullable
content;
752@property (nonatomic, retain) NSDate *_Nullable
date;
798@property (nonatomic, copy) NSArray <MobileRTCRichTextStyleItem *>* _Nullable
textStyleItemList DEPRECATED_MSG_ATTRIBUTE(
"Use segmentDetails instead");
804@property (nonatomic, copy) NSArray <MobileRTCSegmentDetails *>* _Nullable
segmentDetails;
808@property (nonatomic, copy) NSString * _Nullable
threadID;
MobileRTCRichTextStyle
Enumeration of the content font style type for chat message. For more information,...
MobileRTCChatMessageType
Enumeration of chat types.
MobileRTCSDKError
Enumeration of the SDK error.
MobileRTCFileTransferStatus
Enumeration of the status of the file transfer.
@interface MobileRTCRichTextStyleItem NSArray< MobileRTCRichTextStyleOffset * > *_Nullable textStyleOffsetList
Gets the rich text type of a portion of the current message.
NSString *_Nullable reserve
Gets a certain rich-text style's supplementary information.
@interface MobileRTCRichTextStyleOffset NSInteger positionEnd
Gets a certain rich-text style's start position.
For rich text solution, the specified text style information.
For rich text solution, the specified rich text offset information.
A class that contains background color attributes.
UIColor *_Nullable color
The background color.
A class that contains bold attributes.
BOOL bBold
Indicates if the text style is bold. YES if bold, NO otherwise.
A class that contains bulleted list attributes.
BOOL bBulletedList
Indicates if the text style is bulleted list. YES if bulleted list, NO otherwise.
A class for file receiver.
MobileRTCSDKError cancelReceive()
Cancels the file receive.
MobileRTCFileTransferInfo * transferInfo
The basic information of the transfer file.
NSInteger getSenderUserId()
Gets the file sender's user ID.
MobileRTCSDKError cancelSend()
Cancels the file send.
MobileRTCFileTransferInfo * transferInfo
The basic information of the transfer file.
NSInteger getReceiverUserId()
Gets the file receiver's user ID.
A class that provides information about the status and progress of a file transfer during a Zoom meet...
NSUInteger bitPerSecond
The speed of the file transfer in bits per second.
BOOL isSendToAll
Indicates whether the file is sent to all users in the meeting.
NSString * fileName
The file name of the transfer file.
NSUInteger completeSize
The size of the file transferred so far in bytes.
MobileRTCFileTransferStatus transStatus
The status of the file transfer.
NSDate * timeStamp
The timestamp of the file.
NSUInteger completePercentage
The ratio of the file transfer completed.
NSUInteger fileSize
The bytes of transfer file size.
NSString * messageId
The message ID of the transfer file.
A class that sets font color attributes for a chat message segment.
UIColor *_Nullable color
The font color.
A class that sets font size attributes for a chat message segment.
NSInteger fontSize
The font size value. The default is FontSize_Medium.
A class that contains indent attributes.
NSInteger indent
The number of times the indentation style is applied.
A class that contains insert link attributes.
NSString *_Nullable insertLinkUrl
The insert link URL. If insertLinkUrl is not empty, the text style has an insert link URL.
A class that contains italic attributes.
BOOL bItalic
Indicates if the text style is italic. YES if italic, NO otherwise.
A chat message builder to create ChatMsgInfo objects.
MobileRTCMeetingChat *_Nullable build()
Builds chat message entity.
A class that retrieves meeting chat data.
BOOL isChatToAllPanelist
Indicates whether the message is sent to all panelists.
NSString *_Nullable receiverId
The ID of the user who receives the message.
BOOL isChatToAll
Indicates whether the message is sent to all.
BOOL isMyself
Indicates whether the message is sent by the user themselves.
NSArray< MobileRTCSegmentDetails * > *_Nullable segmentDetails
Gets the chat message segment content and style detail of the current message.
NSString *_Nullable threadID
Gets the current message's thread ID.
BOOL isComment
Determines if the current message is a comment replying to another message.
NSString *_Nullable content
The message content.
NSString *_Nullable senderName
The screen name of the user who sends the message.
BOOL isThread
Determines if the current message is part of a message thread and can be directly replied to.
NSString *_Nullable chatId
The message ID.
MobileRTCChatMessageType chatMessageType
The chat message type.
BOOL isChatToWaitingroom
Indicates whether the message is sent to the waiting room.
NSString *_Nullable senderId
The ID of the user who sends the message.
BOOL isPrivate
Indicates whether the message is private.
NSArray< MobileRTCRichTextStyleItem * > *_Nullable textStyleItemList
Gets the current message's chat message font style list.
NSDate *_Nullable date
The message timestamp.
NSString *_Nullable receiverName
The screen name of the user who receives the message.
A class that contains numbered list attributes.
BOOL bNumberedList
Indicates if the text style is numbered. YES if numbered, NO otherwise.
A class that contains paragraph attributes.
NSString *_Nullable strParagraph
The paragraph style. If strParagraph is not empty, the text style has a paragraph style.
A class that contains quote attributes.
BOOL bQuote
Indicates if the text style is quote. YES if quote, NO otherwise.
A class that contains information of rich text with style attributes in a chat message content....
MobileRTCUnderlineAttrs *_Nullable underlineAttrs
The segment UnderlineAttrs value.
MobileRTCInsertLinkAttrs *_Nullable insertLinkAttrs
The segment InsertLinkAttrs value.
MobileRTCItalicAttrs *_Nullable italicAttrs
The segment ItalicAttrs value.
MobileRTCBackgroundColorAttrs *_Nullable backgroundColorAttrs
The segment BackgroundColorAttrs value.
MobileRTCQuoteAttrs *_Nullable quoteAttrs
The segment QuoteAttrs value.
MobileRTCParagraphAttrs *_Nullable paragraphAttrs
The segment ParagraphAttrs value.
NSString *_Nullable content
The segment content value.
MobileRTCFontColorAttrs *_Nullable fontColorAttrs
The segment FontColorAttrs value.
MobileRTCIndentAttrs *_Nullable indentAttrs
The segment IndentAttrs value.
MobileRTCNumberedListAttrs *_Nullable numberedListAttrs
The segment NumberedListAttrs value.
MobileRTCFontSizeAttrs *_Nullable fontSizeAttrs
The segment FontSizeAttrs value.
MobileRTCBoldAttrs *_Nullable boldAttrs
The segment BoldAttrs value.
MobileRTCBulletedListAttrs *_Nullable bulletedListAttrs
The segment BulletedListAttrs value.
MobileRTCStrikethroughAttrs *_Nullable strikethroughAttrs
The strikethrough attributes content value.
A class that contains strikethrough attributes.
BOOL bStrikethrough
Indicates if the text style is strikethrough. YES if strikethrough, NO otherwise.
A class that contains underline attributes.
BOOL bUnderline
Indicates if the text style is underline. YES if underline, NO otherwise.