Sendbird Chat SDK for .NET  3.0.29
SendBird.MessageMetaArray Class Reference

Public Member Functions

 MessageMetaArray (string key)
 
 MessageMetaArray (string key, IList< string > value)
 
virtual void AddValue (string value)
 
virtual void AddValue (IList< string > value)
 
virtual void RemoveValue (string value)
 
override bool Equals (object o)
 
override int GetHashCode ()
 

Properties

virtual string Key [get]
 
virtual IList< string > Value [get, set]
 

Detailed Description

Represents meta array of BaseMessage. Meta array contains key(

String

), value(

List<String>

).

Since
3.0.17

Constructor & Destructor Documentation

◆ MessageMetaArray() [1/2]

SendBird.MessageMetaArray.MessageMetaArray ( string  key)
inline

MessageMetaArray constructor.

Parameters
keykey, it should not be null.
Since
3.0.17

◆ MessageMetaArray() [2/2]

SendBird.MessageMetaArray.MessageMetaArray ( string  key,
IList< string >  value 
)
inline

MessageMetaArray constructor.

Parameters
keykey, it should not be null.
valueList of meta array value.
Since
3.0.17

Member Function Documentation

◆ AddValue() [1/2]

virtual void SendBird.MessageMetaArray.AddValue ( IList< string >  value)
inlinevirtual

Add new value list to meta array value. If meta array value contains given data, it will be ignored.

Parameters
valueNew meta array value list.
Since
3.0.17

◆ AddValue() [2/2]

virtual void SendBird.MessageMetaArray.AddValue ( string  value)
inlinevirtual

Add new value to meta array value. If meta array value contains given data, it will be ignored.

Parameters
valueNew meta array value.
Since
3.0.17

◆ RemoveValue()

virtual void SendBird.MessageMetaArray.RemoveValue ( string  value)
inlinevirtual

Remove value from meta array.

Parameters
valueValue to remove.
Since
3.0.17

Property Documentation

◆ Key

virtual string SendBird.MessageMetaArray.Key
get

Returns meta array key

Returns
Meta array key.
Since
3.0.17

◆ Value

virtual IList<string> SendBird.MessageMetaArray.Value
getset

Returns meta array value

Returns
Meta array value.
Since
3.0.17

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