Signaling (previously RTM) v1.4.8 API Reference for Unity
Public Member Functions | List of all members
agora_rtm.TextMessage Class Reference

Inherits agora_rtm.IMessage.

Public Member Functions

 TextMessage (TextMessage textMessage, MESSAGE_FLAG flag)
 
 TextMessage (IntPtr MessagePtr)
 
 TextMessage (IntPtr MessagePtr, MESSAGE_FLAG flag)
 
- Public Member Functions inherited from agora_rtm.IMessage
Int64 GetMessageId ()
 
MESSAGE_TYPE GetMessageType ()
 
void SetText (string text)
 
string GetText ()
 
byte[] GetRawMessageData ()
 
int GetRawMessageLength ()
 
Int64 GetServerReceiveTs ()
 
bool IsOfflineMessage ()
 
IntPtr GetPtr ()
 
void SetMessagePtr (IntPtr messagePtr)
 

Additional Inherited Members

- Public Attributes inherited from agora_rtm.IMessage
int _Length = 0
 
- Protected Member Functions inherited from agora_rtm.IMessage
void Release ()
 
- Protected Attributes inherited from agora_rtm.IMessage
MESSAGE_FLAG _MessageFlag = MESSAGE_FLAG.RECEIVE
 
IntPtr _MessagePtr = IntPtr.Zero
 
Int64 _MessageId = 0
 
MESSAGE_TYPE _MessageType = MESSAGE_TYPE.MESSAGE_TYPE_UNDEFINED
 
string _MessageText = ""
 
bool _IsOfflineMessage = false
 
Int64 _Ts = 0
 
byte[] _RawMessageData = null
 

Constructor & Destructor Documentation

◆ TextMessage() [1/3]

agora_rtm.TextMessage.TextMessage ( TextMessage  textMessage,
MESSAGE_FLAG  flag 
)
inline

◆ TextMessage() [2/3]

agora_rtm.TextMessage.TextMessage ( IntPtr  MessagePtr)
inline

◆ TextMessage() [3/3]

agora_rtm.TextMessage.TextMessage ( IntPtr  MessagePtr,
MESSAGE_FLAG  flag 
)
inline

The documentation for this class was generated from the following file: