LeanCloud C# SDK
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
LeanCloud.Realtime.LCIMAudioMessage Class Reference

LCIMAudioMessage is a local representation of audio message in LeanCloud. More...

Inheritance diagram for LeanCloud.Realtime.LCIMAudioMessage:
LeanCloud.Realtime.LCIMFileMessage LeanCloud.Realtime.LCIMTextMessage LeanCloud.Realtime.LCIMTypedMessage LeanCloud.Realtime.LCIMMessage

Public Member Functions

 LCIMAudioMessage (LCFile file)
 
- Public Member Functions inherited from LeanCloud.Realtime.LCIMFileMessage
 LCIMFileMessage (LCFile file)
 
- Public Member Functions inherited from LeanCloud.Realtime.LCIMTextMessage
 LCIMTextMessage (string text)
 

Properties

double Duration [get]
 
override int MessageType [get]
 
- Properties inherited from LeanCloud.Realtime.LCIMFileMessage
LCFile File [get, set]
 
int Size [get]
 The size of the file in bytes.
 
string Format [get]
 The format extension of the file.
 
string Url [get]
 The URL of the file.
 
override int MessageType [get]
 
- Properties inherited from LeanCloud.Realtime.LCIMTextMessage
string Text [get, set]
 
override int MessageType [get]
 
- Properties inherited from LeanCloud.Realtime.LCIMTypedMessage
virtual int MessageType [get]
 
object this[string key] [get, set]
 Gets message attributes.
 
- Properties inherited from LeanCloud.Realtime.LCIMMessage
string ConversationId [get, set]
 The conversation ID this message belongs to.
 
string Id [get, set]
 The ID of this message.
 
string FromClientId [get, set]
 The ID of the client who sends this message.
 
long SentTimestamp [get, set]
 The timestamp of this message.
 
DateTime SentAt [get]
 The sending date of this message.
 
long DeliveredTimestamp [get, set]
 送达时间戳
 
DateTime DeliveredAt [get]
 The delivered date of this message.
 
long ReadTimestamp [get, set]
 The timestamp when this message has been read by others.
 
DateTime ReadAt [get]
 When this message has been read by others.
 
long PatchedTimestamp [get, set]
 The timestamp when this message is updated.
 
DateTime PatchedAt [get]
 When this message is updated.
 
List< string > MentionIdList [get, set]
 The members in the conversation mentioned by this message.
 
bool MentionAll [get, set]
 Whether all members in the conversation are mentioned by this message.
 
bool Mentioned [get, set]
 Whether the current user has been mentioned in this message.
 

Additional Inherited Members

- Static Public Member Functions inherited from LeanCloud.Realtime.LCIMTypedMessage
static void Register< T > (int msgType, Func< T > msgConstructor)
 Registers a custom message type.
 
- Static Public Attributes inherited from LeanCloud.Realtime.LCIMTypedMessage
const int TextMessageType = -1
 
const int ImageMessageType = -2
 
const int AudioMessageType = -3
 
const int VideoMessageType = -4
 
const int LocationMessageType = -5
 
const int FileMessageType = -6
 
const int RecalledMessageType = -127
 
- Protected Member Functions inherited from LeanCloud.Realtime.LCIMTypedMessage
 LCIMTypedMessage ()
 
- Protected Attributes inherited from LeanCloud.Realtime.LCIMTypedMessage
Dictionary< string, object > data = new Dictionary<string, object>()
 Complete data of message.
 
- Static Protected Attributes inherited from LeanCloud.Realtime.LCIMTypedMessage
const string MessageTypeKey = "_lctype"
 Preserved fields.
 
const string MessageAttributesKey = "_lcattrs"
 
const string MessageTextKey = "_lctext"
 
const string MessageLocationKey = "_lcloc"
 
const string MessageFileKey = "_lcfile"
 
const string MessageDataLongitudeKey = "longitude"
 
const string MessageDataLatitudeKey = "latitude"
 
const string MessageDataObjectIdKey = "objId"
 
const string MessageDataUrlKey = "url"
 
const string MessageDataMetaDataKey = "metaData"
 
const string MessageDataMetaNameKey = "name"
 
const string MessageDataMetaFormatKey = "format"
 
const string MessageDataMetaSizeKey = "size"
 
const string MessageDataMetaWidthKey = "width"
 
const string MessageDataMetaHeightKey = "height"
 
const string MessageDataMetaDurationKey = "duration"
 

Detailed Description

LCIMAudioMessage is a local representation of audio message in LeanCloud.

Constructor & Destructor Documentation

◆ LCIMAudioMessage()

LeanCloud.Realtime.LCIMAudioMessage.LCIMAudioMessage ( LCFile  file)
inline

Property Documentation

◆ Duration

double LeanCloud.Realtime.LCIMAudioMessage.Duration
get

◆ MessageType

override int LeanCloud.Realtime.LCIMAudioMessage.MessageType
get

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