Video SDK for Linux API Reference
Loading...
Searching...
No Matches
IZoomVideoSDKChatMessage Class Referenceabstract

Chat message interface. More...

#include <zoom_video_sdk_chat_message_interface.h>

Public Member Functions

virtual ~IZoomVideoSDKChatMessage ()
 
virtual const zchar_tgetMessageID ()=0
 Get the message ID of the current message.
 
virtual IZoomVideoSDKUsergetSendUser ()=0
 Get the send user object of the message.
 
virtual IZoomVideoSDKUsergetReceiveUser ()=0
 Get the receive user object of the message.
 
virtual const zchar_tgetContent ()=0
 Get the content of the message.
 
virtual time_t getTimeStamp ()=0
 Get the time stamp of the message.
 
virtual bool isChatToAll ()=0
 Determine if the message is send to all.
 
virtual bool isSelfSend ()=0
 Determine if the message is send by yourself.
 

Detailed Description

Chat message interface.

Definition at line 15 of file zoom_video_sdk_chat_message_interface.h.

Constructor & Destructor Documentation

◆ ~IZoomVideoSDKChatMessage()

virtual IZoomVideoSDKChatMessage::~IZoomVideoSDKChatMessage ( )
inlinevirtual

Definition at line 18 of file zoom_video_sdk_chat_message_interface.h.

18{}

Member Function Documentation

◆ getContent()

virtual const zchar_t * IZoomVideoSDKChatMessage::getContent ( )
pure virtual

Get the content of the message.

Returns
The content of the message.

◆ getMessageID()

virtual const zchar_t * IZoomVideoSDKChatMessage::getMessageID ( )
pure virtual

Get the message ID of the current message.

Returns
If the function succeeds, the return value is the message ID of the current message. Otherwise failed, the return value is the string of length zero(0)

◆ getReceiveUser()

virtual IZoomVideoSDKUser * IZoomVideoSDKChatMessage::getReceiveUser ( )
pure virtual

Get the receive user object of the message.

Returns
If the function succeeds, the return value is receive user object, Otherwise nullptr.

◆ getSendUser()

virtual IZoomVideoSDKUser * IZoomVideoSDKChatMessage::getSendUser ( )
pure virtual

Get the send user object of the message.

Returns
If the function succeeds, the return value is send user object, Otherwise nullptr.

◆ getTimeStamp()

virtual time_t IZoomVideoSDKChatMessage::getTimeStamp ( )
pure virtual

Get the time stamp of the message.

Returns
The time stamp of the message.

◆ isChatToAll()

virtual bool IZoomVideoSDKChatMessage::isChatToAll ( )
pure virtual

Determine if the message is send to all.

Returns
True if the message is send to all. Otherwise returns false.

◆ isSelfSend()

virtual bool IZoomVideoSDKChatMessage::isSelfSend ( )
pure virtual

Determine if the message is send by yourself.

Returns
True if the message is send by yourself. Otherwise returns false.