Meeting SDK for Linux API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IChatMsgInfoBuilder Class Referenceabstract

Chat message builder to create ChatMsgInfo objects. Tips: If there are duplicate styles, the final appearance is determined by the last applied setting. More...

#include <meeting_chat_interface.h>

Public Member Functions

virtual IChatMsgInfoBuilderSetContent (const zchar_t *content)=0
 Set chat message content.
 
virtual IChatMsgInfoBuilderSetReceiver (unsigned int receiver)=0
 Set who will receive the chat message.
 
virtual IChatMsgInfoBuilderSetThreadId (const zchar_t *threadId)=0
 Set the ID of the thread where the message will be posted.
 
virtual IChatMsgInfoBuilderSetMessageType (SDKChatMessageType type)=0
 Set the chat message type.
 
virtual IChatMsgInfoBuilderSetQuotePosition (unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content quote style and position.
 
virtual IChatMsgInfoBuilderUnsetQuotePosition (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content quote style.
 
virtual IChatMsgInfoBuilderSetInsertLink (InsertLinkAttrs insertLink, unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content insert link style.
 
virtual IChatMsgInfoBuilderUnsetInsertLink (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content insert link style.
 
virtual IChatMsgInfoBuilderSetFontSize (FontSizeAttrs fontSize, unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content font size style.
 
virtual IChatMsgInfoBuilderUnsetFontSize (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content font size style.
 
virtual IChatMsgInfoBuilderSetItalic (unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content italic style.
 
virtual IChatMsgInfoBuilderUnsetItalic (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content italic style.
 
virtual IChatMsgInfoBuilderSetBold (unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content bold style.
 
virtual IChatMsgInfoBuilderUnsetBold (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content italic style.
 
virtual IChatMsgInfoBuilderSetStrikethrough (unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content strikethrough style.
 
virtual IChatMsgInfoBuilderUnsetStrikethrough (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content strikethrough style.
 
virtual IChatMsgInfoBuilderSetBulletedList (unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content bulleted list style.
 
virtual IChatMsgInfoBuilderUnsetBulletedList (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content bulleted list style.
 
virtual IChatMsgInfoBuilderSetNumberedList (unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content numbered list style.
 
virtual IChatMsgInfoBuilderUnsetNumberedList (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content numbered list style.
 
virtual IChatMsgInfoBuilderSetUnderline (unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content under line style.
 
virtual IChatMsgInfoBuilderUnsetUnderline (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content under line style.
 
virtual IChatMsgInfoBuilderSetFontColor (FontColorAttrs color, unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content font color style.
 
virtual IChatMsgInfoBuilderUnsetFontColor (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content font color style.
 
virtual IChatMsgInfoBuilderSetBackgroundColor (BackgroundColorAttrs color, unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content background color style.
 
virtual IChatMsgInfoBuilderUnsetBackgroundColor (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content background color style.
 
virtual IChatMsgInfoBuilderIncreaseIndent (IndentAttrs indent, unsigned int positionStart, unsigned int positionEnd)=0
 Increase the chat message content indent style.
 
virtual IChatMsgInfoBuilderDecreaseIndent (IndentAttrs indent, unsigned int positionStart, unsigned int positionEnd)=0
 Decrease the chat message content indent style. ///.
 
virtual IChatMsgInfoBuilderSetParagraph (ParagraphAttrs paragraph, unsigned int positionStart, unsigned int positionEnd)=0
 Set the chat message content paragraph style.
 
virtual IChatMsgInfoBuilderUnsetParagraph (unsigned int positionStart, unsigned int positionEnd)=0
 Clear the chat message content paragraph style. Tips: if paragraph.strParagraph is one of Paragraph_H1, Paragraph_H2, Paragraph_H3, Bold and font size styles will be removed internally.
 
virtual IChatMsgInfoBuilderClearStyles ()=0
 Clear all set styles.
 
virtual IChatMsgInfoBuilderClear ()=0
 Clear all set properties.
 
virtual IChatMsgInfoBuild ()=0
 build chat message entity.
 
virtual ~IChatMsgInfoBuilder ()
 

Detailed Description

Chat message builder to create ChatMsgInfo objects. Tips: If there are duplicate styles, the final appearance is determined by the last applied setting.

Definition at line 513 of file meeting_chat_interface.h.

Constructor & Destructor Documentation

◆ ~IChatMsgInfoBuilder()

virtual IChatMsgInfoBuilder::~IChatMsgInfoBuilder ( )
inlinevirtual

Definition at line 711 of file meeting_chat_interface.h.

711{}

Member Function Documentation

◆ Build()

virtual IChatMsgInfo * IChatMsgInfoBuilder::Build ( )
pure virtual

build chat message entity.

Returns
If the function succeeds, the return value is the message detail info.

◆ Clear()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::Clear ( )
pure virtual

Clear all set properties.

◆ ClearStyles()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::ClearStyles ( )
pure virtual

Clear all set styles.

◆ DecreaseIndent()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::DecreaseIndent ( IndentAttrs indent,
unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Decrease the chat message content indent style. ///.

Parameters
indentThe segment indent value.
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ IncreaseIndent()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::IncreaseIndent ( IndentAttrs indent,
unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Increase the chat message content indent style.

Parameters
indentThe segment indent value.
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetBackgroundColor()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetBackgroundColor ( BackgroundColorAttrs color,
unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content background color style.

Parameters
colorThe segment color value.
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetBold()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetBold ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content bold style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetBulletedList()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetBulletedList ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content bulleted list style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetContent()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetContent ( const zchar_t * content)
pure virtual

Set chat message content.

Parameters
contentThe chat message's content.

◆ SetFontColor()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetFontColor ( FontColorAttrs color,
unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content font color style.

Parameters
colorThe segment color value.
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetFontSize()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetFontSize ( FontSizeAttrs fontSize,
unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content font size style.

Parameters
fontSizeThe segment font size.
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetInsertLink()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetInsertLink ( InsertLinkAttrs insertLink,
unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content insert link style.

Parameters
insertLinkThe segment link url.
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetItalic()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetItalic ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content italic style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetMessageType()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetMessageType ( SDKChatMessageType type)
pure virtual

Set the chat message type.

Parameters
typeThe chat message's type.

◆ SetNumberedList()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetNumberedList ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content numbered list style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetParagraph()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetParagraph ( ParagraphAttrs paragraph,
unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content paragraph style.

Parameters
paragraphThe segment paragraph value. Tips: if paragraph.strParagraph is one of the three contents, bold and font size styles will be added internally. Paragraph_H1 with bold and FontSize_Large Paragraph_H2 with bold and FontSize_Medium Paragraph_H3 with bold and FontSize_Small
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetQuotePosition()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetQuotePosition ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content quote style and position.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.

◆ SetReceiver()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetReceiver ( unsigned int receiver)
pure virtual

Set who will receive the chat message.

Parameters
receiverSpecify the user ID to receive the chat message. The message is sent to all participants when the value is zero(0).

◆ SetStrikethrough()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetStrikethrough ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content strikethrough style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ SetThreadId()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetThreadId ( const zchar_t * threadId)
pure virtual

Set the ID of the thread where the message will be posted.

Parameters
threadIdSpecify the thread ID.

◆ SetUnderline()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::SetUnderline ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Set the chat message content under line style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetBackgroundColor()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetBackgroundColor ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content background color style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetBold()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetBold ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content italic style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetBulletedList()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetBulletedList ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content bulleted list style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetFontColor()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetFontColor ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content font color style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetFontSize()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetFontSize ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content font size style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetInsertLink()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetInsertLink ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content insert link style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetItalic()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetItalic ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content italic style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetNumberedList()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetNumberedList ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content numbered list style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetParagraph()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetParagraph ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content paragraph style. Tips: if paragraph.strParagraph is one of Paragraph_H1, Paragraph_H2, Paragraph_H3, Bold and font size styles will be removed internally.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetQuotePosition()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetQuotePosition ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content quote style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetStrikethrough()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetStrikethrough ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content strikethrough style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.

◆ UnsetUnderline()

virtual IChatMsgInfoBuilder * IChatMsgInfoBuilder::UnsetUnderline ( unsigned int positionStart,
unsigned int positionEnd )
pure virtual

Clear the chat message content under line style.

Parameters
positionStartThe segment start position.
positionEndThe segment end position.
Returns
Return value is a pointer of IChatMsgInfoBuilder with modifications for chain call.