◆ UserConnectionStatus
The user connection status type.
◆ BuildFromSerializedData()
static User SendBird.User.BuildFromSerializedData |
( |
byte[] |
data | ) |
|
|
inlinestatic |
Builds User
instance from serialized data generated by serialize().
- Parameters
-
data | Serialized User data. |
- Returns
User
instance.
- Since
- 3.0.22
◆ CreateMetaData()
void SendBird.User.CreateMetaData |
( |
Dictionary< string, string > |
metaDataMap, |
|
|
MetaDataHandler |
handler |
|
) |
| |
|
inline |
Creates meta data. This can be used to customize the user.
- Parameters
-
metaDataMap | Meta data key-value map. |
handler | Callback handler. |
- Since
- 3.0.22
◆ DeleteAllMetaData()
void SendBird.User.DeleteAllMetaData |
( |
DeleteMetaDataHandler |
handler | ) |
|
|
inline |
Deletes all meta data.
- Parameters
-
- Since
- 3.0.22
◆ DeleteMetaData()
void SendBird.User.DeleteMetaData |
( |
string |
key, |
|
|
DeleteMetaDataHandler |
handler |
|
) |
| |
|
inline |
Deletes a meta data.
- Parameters
-
key | Meta data key to delete. |
handler | Callback handler. |
- Since
- 3.0.22
◆ GetMetaData() [1/2]
Dictionary<string, string> SendBird.User.GetMetaData |
( |
| ) |
|
|
inline |
Gets all meta data.
- Returns
- Meta data map.
- Since
- 3.0.22
◆ GetMetaData() [2/2]
string SendBird.User.GetMetaData |
( |
string |
key | ) |
|
|
inline |
Gets meta data.
- Parameters
-
- Returns
- Meta data value.
- Since
- 3.0.22
◆ UpdateMetaData()
void SendBird.User.UpdateMetaData |
( |
Dictionary< string, string > |
metaDataMap, |
|
|
MetaDataHandler |
handler |
|
) |
| |
|
inline |
Updates meta data.
- Parameters
-
metaDataMap | Meta data key-value map to update. |
handler | Callback handler. |
- Since
- 3.0.22
◆ ConnectionStatus
Returns User
connection status.
- Returns
- The
User
connection status.
◆ LastSeenAt
long SendBird.User.LastSeenAt |
|
get |
Returns the time this User
has been last seen at. Zero if this User
is online.
- Returns
- Timestamp in milliseconds.
◆ Nickname
string SendBird.User.Nickname |
|
get |
Returns User
nickname.
- Returns
- The
User
nickname.
◆ ProfileUrl
string SendBird.User.ProfileUrl |
|
get |
Returns User
profile URL.
- Returns
- The URL.
◆ UserId
string SendBird.User.UserId |
|
getset |
The documentation for this class was generated from the following file: