Sendbird Chat SDK for Unity
|
Public Member Functions | |
void | CreateMetaData (Dictionary< string, string > inMetaData, SbMetaDataHandler inCompletionHandler) |
Creates the meta data for the current user. More... | |
string | GetMetaData (string inKey) |
Gets meta data. More... | |
void | UpdateMetaData (Dictionary< string, string > inMetaData, SbMetaDataHandler inCompletionHandler) |
Updates the meta data for the current user. More... | |
void | DeleteMetaData (string inKey, SbErrorHandler inCompletionHandler) |
Deletes meta data with key for the current user. More... | |
void | DeleteAllMetaData (SbErrorHandler inCompletionHandler) |
Deletes all meta data for the current user. More... | |
Properties | |
string | UserId [get] |
User ID. This has to be unique. More... | |
string | Nickname [get] |
User nickname. More... | |
string | ProfileUrl [get] |
The profile image URL. If the file encryption feature is enabled, this will have SendbirdChat.EKey combined with the PlainProfileImageUrl so the file can be accessed. For caching the file, it is recommended to use PlainProfileImageUrl as the key of the file cache. More... | |
string | OriginalProfileUrl [get] |
Original profile image url. More... | |
string | PlainProfileImageUrl [get] |
The plain profile image URL, which does not contain SendbirdChat.EKey as a parameter. If the file encryption feature is enabled, accessing this PlainProfileImageUrl will be denied. More... | |
IReadOnlyList< string > | PreferredLanguages [get] |
User’s preferred language. Used for translating messages. More... | |
IReadOnlyDictionary< string, string > | MetaData [get] |
All meta data of the user. More... | |
SbUserConnectionStatus | ConnectionStatus [get] |
User connection status. This is defined in SbUserConnectionStatus. More... | |
bool | IsActive [get] |
Represents the user is activated. This property is changed by the Platform API More... | |
long | LastSeenAt [get] |
The latest time when the user became offline. More... | |
string | FriendDiscoveryKey [get] |
Discovery key for friend More... | |
string | FriendName [get] |
User name for friend More... | |
void CreateMetaData | ( | Dictionary< string, string > | inMetaData, |
SbMetaDataHandler | inCompletionHandler | ||
) |
Creates the meta data for the current user.
inMetaData | The meta data to be set. |
inCompletionHandler | The handler block to execute. metaData is the meta data which are set on Sendbird server. |
void DeleteAllMetaData | ( | SbErrorHandler | inCompletionHandler | ) |
Deletes all meta data for the current user.
inCompletionHandler |
void DeleteMetaData | ( | string | inKey, |
SbErrorHandler | inCompletionHandler | ||
) |
Deletes meta data with key for the current user.
inKey | |
inCompletionHandler |
string GetMetaData | ( | string | inKey | ) |
Gets meta data.
inKey |
void UpdateMetaData | ( | Dictionary< string, string > | inMetaData, |
SbMetaDataHandler | inCompletionHandler | ||
) |
Updates the meta data for the current user.
inMetaData | |
inCompletionHandler |
|
get |
User connection status. This is defined in SbUserConnectionStatus.
|
get |
Discovery key for friend
|
get |
User name for friend
|
get |
Represents the user is activated. This property is changed by the Platform API
|
get |
The latest time when the user became offline.
|
get |
All meta data of the user.
|
get |
User nickname.
|
get |
Original profile image url.
|
get |
The plain profile image URL, which does not contain SendbirdChat.EKey as a parameter. If the file encryption feature is enabled, accessing this PlainProfileImageUrl will be denied.
|
get |
User’s preferred language. Used for translating messages.
|
get |
The profile image URL. If the file encryption feature is enabled, this will have SendbirdChat.EKey combined with the PlainProfileImageUrl so the file can be accessed. For caching the file, it is recommended to use PlainProfileImageUrl as the key of the file cache.
|
get |
User ID. This has to be unique.