Sendbird Chat SDK for Unity
SbMessageMetaArray

Represents meta array of SbBaseMessage. More...

Public Member Functions

 SbMessageMetaArray (string inKey, List< string > inValue=null)
 
void AddValue (string inValue)
 Add new value to meta array value. If meta array value contains given data, it will be ignored. More...
 
void AddValue (IList< string > inValue)
 Add new value list to meta array value. If meta array value contains given data, it will be ignored. More...
 
void RemoveValue (string inValue)
 Remove value from meta array. More...
 

Properties

string Key [get]
 The meta array key More...
 
IReadOnlyList< string > Value [get]
 The meta array values More...
 

Detailed Description

Represents meta array of SbBaseMessage.

Since
4.0.0

Constructor & Destructor Documentation

◆ SbMessageMetaArray()

SbMessageMetaArray ( string  inKey,
List< string >  inValue = null 
)
Since
4.0.0

Member Function Documentation

◆ AddValue() [1/2]

void AddValue ( IList< string >  inValue)

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

Parameters
inValue
Since
4.0.0

◆ AddValue() [2/2]

void AddValue ( string  inValue)

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

Parameters
inValue
Since
4.0.0

◆ RemoveValue()

void RemoveValue ( string  inValue)

Remove value from meta array.

Parameters
inValue
Since
4.0.0

Property Documentation

◆ Key

string Key
get

The meta array key

Since
4.0.0

◆ Value

IReadOnlyList<string> Value
get

The meta array values

Since
4.0.0