Sendbird Chat SDK for .NET
SendbirdChatClient
Inheritance diagram for SendbirdChatClient:
ISendbirdChatClient

Public Member Functions

void Init (SbInitParams inInitParams)
 Initializes SendbirdChat with given app ID. More...
 
void Connect (string inUserId, SbUserHandler inCompletionHandler)
 Performs a connection to Sendbird with the user ID. More...
 
void Connect (string inUserId, string inAuthToken, SbUserHandler inCompletionHandler)
 Performs a connection to Sendbird with the user ID and the access token. More...
 
void Connect (string inUserId, string inAuthToken, string inApiHost, string inWsHost, SbUserHandler inCompletionHandler)
 Performs a connection to Sendbird with the user ID and the access token. More...
 
void Disconnect (SbDisconnectHandler inDisconnectHandler)
 Disconnects from Sendbird. If this method is invoked, the current user will be invalidated. More...
 
bool Reconnect ()
 Starts reconnection explicitly. The ConnectionDelegate delegates will be invoked by the reconnection process. More...
 
SbConnectionState GetConnectionState ()
 Gets the SDK connection state. More...
 
void SetSessionHandler (SbSessionHandler inSessionHandler)
 Set a SessionHandler which is required for SDK refresh the session when the current session expires. More...
 
void SetChannelInvitationPreference (bool inAutoAccept, SbErrorHandler inCompletionHandler)
 Sets group channel invitation preference for auto acceptance. More...
 
void GetChannelInvitationPreference (SbChannelInvitationPreferenceHandler inCompletionHandler)
 Gets group channel invitation preference for auto acceptance. More...
 
void AddUserEventHandler (string inIdentifier, SbUserEventHandler inUserEventHandler)
 Adds a user event handler. All added handlers will be notified when events occur. More...
 
void RemoveUserEventHandler (string inIdentifier)
 Removes a user event handler. The deleted handler no longer be notified. More...
 
void RemoveAllUserEventHandlers ()
 Removes all user event handlers added by AddUseEventHandler. More...
 
void AddConnectionHandler (string inIdentifier, SbConnectionHandler inConnectionHandler)
 Adds a connection handler. All added handlers will be notified when events occurs. More...
 
void RemoveConnectionHandler (string inIdentifier)
 Removes a connection handler. The deleted handler no longer be notified. More...
 
void RemoveAllConnectionHandlers ()
 Removes all connection handlers added by AddConnectionHandler. More...
 
void BlockUser (string inUserId, SbUserHandler inCompletionHandler)
 Blocks the specified User ID. Blocked User cannot send messages to the blocker. More...
 
void UnblockUser (string inUserId, SbErrorHandler inCompletionHandler)
 Unblocks the specified User ID. Unblocked User cannot send messages to the ex-blocker. More...
 
void UpdateCurrentUserInfo (SbUserUpdateParams inParams, SbErrorHandler inCompletionHandler)
 Updates current User's information. More...
 
void UpdateCurrentUserInfo (List< string > inPreferredLanguages, SbErrorHandler inCompletionHandler)
 Updates current User's information. More...
 
SbApplicationUserListQuery CreateApplicationUserListQuery (SbApplicationUserListQueryParams inParams=null)
 Creates a query instance to get the whole User list. More...
 
SbBlockedUserListQuery CreateBlockedUserListQuery (SbBlockedUserListQueryParams inParams=null)
 Creates a query instance to get only the blocked User (by me) list. More...
 
SbMessageSearchQuery CreateMessageSearchQuery (SbMessageSearchQueryParams inParams=null)
 Creates a query instance to search for a message. More...
 
void RegisterPushToken (SbPushTokenType inPushTokenType, string inPushToken, bool inUnique, SbPushTokenRegistrationStatusHandler inCompletionHandler)
 Registers push token for the current User to receive push notification. More...
 
void UnregisterPushToken (SbPushTokenType inPushTokenType, string inPushToken, SbErrorHandler inCompletionHandler)
 Unregisters push token for the current User. More...
 
void UnregisterAllPushToken (SbErrorHandler inCompletionHandler)
 Unregisters all push token bound to the current User. More...
 
void GetMyPushTokensByToken (string inToken, SbPushTokenType inPushTokenType, SbPushTokensHandler inCompletionHandler)
 Requests push tokens of current user from given token. The result is passed to handler. More...
 
void SetPushTemplate (string inTemplateName, SbErrorHandler inCompletionHandler)
 Sets push template option for the current User. More...
 
void GetPushTemplate (SbPushTemplateHandler inCompletionHandler)
 Gets push template option for the current User. For details of push template option, refer to SetPushTemplate. This can be used, for instance, when you need to check the push notification content preview is on or off at the moment. More...
 
void SetSnoozePeriod (bool inEnabled, long inStartTimestamp, long inEndTimestamp, SbErrorHandler inCompletionHandler)
 Sets snooze period for the current User. If this option is enabled, the current User does not receive push notification during the given period. It's not a repetitive operation. If you want to snooze repeatedly, use SetDoNotDisturb. More...
 
void GetSnoozePeriod (SbSnoozePeriodHandler inCompletionHandler)
 Gets snooze period for the current User. More...
 
void SetDoNotDisturb (bool inEnabled, int inStartHour, int inStartMin, int inEndHour, int inEndMin, string inTimezone, SbErrorHandler inCompletionHandler)
 Sets Do-not-disturb option for the current User. If this option is enabled, the current User does not receive push notification during the specified time repeatedly. If you want to snooze specific period, use SetSnoozePeriod. More...
 
void GetDoNotDisturb (SbDoNotDisturbHandler inCompletionHandler)
 Gets Do-not-disturb option for the current User. More...
 
void GetPushTriggerOption (SbPushTriggerOptionHandler inCompletionHandler)
 Requests a setting that decides which push notification for the current user to receive in all the group channel. More...
 
void SetPushTriggerOption (SbPushTriggerOption inPushTriggerOption, SbErrorHandler inCompletionHandler)
 Changes a setting that decides which push notification for the current user to receive in all the group channel. More...
 
void Init (SbInitParams inInitParams)
 Initializes SendbirdChat with given app ID. More...
 
void Connect (string inUserId, SbUserHandler inCompletionHandler)
 Performs a connection to Sendbird with the user ID. More...
 
void Connect (string inUserId, string inAuthToken, SbUserHandler inCompletionHandler)
 Performs a connection to Sendbird with the user ID and the access token. More...
 
void Connect (string inUserId, string inAuthToken, string inApiHost, string inWsHost, SbUserHandler inCompletionHandler)
 Performs a connection to Sendbird with the user ID and the access token. More...
 
void Disconnect (SbDisconnectHandler inDisconnectHandler=null)
 Disconnects from Sendbird. If this method is invoked, the current user will be invalidated. More...
 
bool Reconnect ()
 Starts reconnection explicitly. The ConnectionDelegate delegates will be invoked by the reconnection process. More...
 
SbConnectionState GetConnectionState ()
 Gets the SDK connection state. More...
 
void SetSessionHandler (SbSessionHandler inSessionHandler)
 Set a SessionHandler which is required for SDK refresh the session when the current session expires. More...
 
void SetChannelInvitationPreference (bool inAutoAccept, SbErrorHandler inCompletionHandler)
 Sets group channel invitation preference for auto acceptance. More...
 
void GetChannelInvitationPreference (SbChannelInvitationPreferenceHandler inCompletionHandler)
 Gets group channel invitation preference for auto acceptance. More...
 
void AddUserEventHandler (string inIdentifier, SbUserEventHandler inUserEventHandler)
 Adds a user event handler. All added handlers will be notified when events occur. More...
 
void RemoveUserEventHandler (string inIdentifier)
 Removes a user event handler. The deleted handler no longer be notified. More...
 
void RemoveAllUserEventHandlers ()
 Removes all user event handlers added by AddUseEventHandler. More...
 
void AddConnectionHandler (string inIdentifier, SbConnectionHandler inConnectionHandler)
 Adds a connection handler. All added handlers will be notified when events occurs. More...
 
void RemoveConnectionHandler (string inIdentifier)
 Removes a connection handler. The deleted handler no longer be notified. More...
 
void RemoveAllConnectionHandlers ()
 Removes all connection handlers added by AddConnectionHandler. More...
 
void BlockUser (string inUserId, SbUserHandler inCompletionHandler)
 Blocks the specified User ID. Blocked User cannot send messages to the blocker. More...
 
void UnblockUser (string inUserId, SbErrorHandler inCompletionHandler)
 Unblocks the specified User ID. Unblocked User cannot send messages to the ex-blocker. More...
 
void UpdateCurrentUserInfo (SbUserUpdateParams inParams, SbErrorHandler inCompletionHandler)
 Updates current User's information. More...
 
void UpdateCurrentUserInfo (List< string > inPreferredLanguages, SbErrorHandler inCompletionHandler)
 Updates current User's information. More...
 
SbApplicationUserListQuery CreateApplicationUserListQuery (SbApplicationUserListQueryParams inParams=null)
 Creates a query instance to get the whole User list. More...
 
SbBlockedUserListQuery CreateBlockedUserListQuery (SbBlockedUserListQueryParams inParams=null)
 Creates a query instance to get only the blocked User (by me) list. More...
 
SbMessageSearchQuery CreateMessageSearchQuery (SbMessageSearchQueryParams inParams=null)
 Creates a query instance to search for a message. More...
 
void RegisterPushToken (SbPushTokenType inPushTokenType, string inPushToken, bool inUnique, SbPushTokenRegistrationStatusHandler inCompletionHandler)
 Registers push token for the current User to receive push notification. More...
 
void UnregisterPushToken (SbPushTokenType inPushTokenType, string inPushToken, SbErrorHandler inCompletionHandler)
 Unregisters push token for the current User. More...
 
void UnregisterAllPushToken (SbErrorHandler inCompletionHandler)
 Unregisters all push token bound to the current User. More...
 
void GetMyPushTokensByToken (string inToken, SbPushTokenType inPushTokenType, SbPushTokensHandler inCompletionHandler)
 Requests push tokens of current user from given token. The result is passed to handler. More...
 
void SetPushTemplate (string inTemplateName, SbErrorHandler inCompletionHandler)
 Sets push template option for the current User. More...
 
void GetPushTemplate (SbPushTemplateHandler inCompletionHandler)
 Gets push template option for the current User. For details of push template option, refer to SetPushTemplate. This can be used, for instance, when you need to check the push notification content preview is on or off at the moment. More...
 
void SetSnoozePeriod (bool inEnabled, long inStartTimestamp, long inEndTimestamp, SbErrorHandler inCompletionHandler)
 Sets snooze period for the current User. If this option is enabled, the current User does not receive push notification during the given period. It's not a repetitive operation. If you want to snooze repeatedly, use SetDoNotDisturb. More...
 
void GetSnoozePeriod (SbSnoozePeriodHandler inCompletionHandler)
 Gets snooze period for the current User. More...
 
void SetDoNotDisturb (bool inEnabled, int inStartHour, int inStartMin, int inEndHour, int inEndMin, string inTimezone, SbErrorHandler inCompletionHandler)
 Sets Do-not-disturb option for the current User. If this option is enabled, the current User does not receive push notification during the specified time repeatedly. If you want to snooze specific period, use SetSnoozePeriod. More...
 
void GetDoNotDisturb (SbDoNotDisturbHandler inCompletionHandler)
 Gets Do-not-disturb option for the current User. More...
 
void GetPushTriggerOption (SbPushTriggerOptionHandler inCompletionHandler)
 Requests a setting that decides which push notification for the current user to receive in all the group channel. More...
 
void SetPushTriggerOption (SbPushTriggerOption inPushTriggerOption, SbErrorHandler inCompletionHandler)
 Changes a setting that decides which push notification for the current user to receive in all the group channel. More...
 

Properties

string SDKVersion [get]
 Current SDK version. More...
 
string OSVersion [get]
 Current OS version. More...
 
string ApplicationId [get]
 Current application ID. More...
 
string EKey [get]
 The key to authenticate the url retrieved from SbFileMessage.PlainUrl, SbUser.PlainProfileImageUrl and SbThumbnail.PlainUrl. This key has to be put into the HTTP header to access the url provided by above methods. More...
 
SbAppInfo AppInfo [get]
 Represents information obtained from the application settings. More...
 
SbUser CurrentUser [get]
 The current connected User. null if connect is not called. More...
 
SbGroupChannelModule GroupChannel [get]
 SbGroupChannelModule class. More...
 
SbOpenChannelModule OpenChannel [get]
 SbOpenChannelModule class. More...
 
SbMessageModule Message [get]
 SbMessageModule class. More...
 
SendbirdChatOptions Options [get]
 SendbirdChatOptions class. More...
 
- Properties inherited from ISendbirdChatClient
string SDKVersion [get]
 Current SDK version. More...
 
string OSVersion [get]
 Current OS version. More...
 
string ApplicationId [get]
 Current application ID. More...
 
string EKey [get]
 The key to authenticate the url retrieved from SbFileMessage.PlainUrl, SbUser.PlainProfileImageUrl and SbThumbnail.PlainUrl. This key has to be put into the HTTP header to access the url provided by above methods. More...
 
SbAppInfo AppInfo [get]
 Represents information obtained from the application settings. More...
 
SbUser CurrentUser [get]
 The current connected User. null if connect is not called. More...
 
SbGroupChannelModule GroupChannel [get]
 SbGroupChannelModule class. More...
 
SbOpenChannelModule OpenChannel [get]
 SbOpenChannelModule class. More...
 
SbMessageModule Message [get]
 SbMessageModule class. More...
 
SendbirdChatOptions Options [get]
 SendbirdChatOptions class. More...
 

Detailed Description

Since
4.0.0

Member Function Documentation

◆ AddConnectionHandler()

void AddConnectionHandler ( string  inIdentifier,
SbConnectionHandler  inConnectionHandler 
)

Adds a connection handler. All added handlers will be notified when events occurs.

Parameters
inIdentifier
inConnectionHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ AddUserEventHandler()

void AddUserEventHandler ( string  inIdentifier,
SbUserEventHandler  inUserEventHandler 
)

Adds a user event handler. All added handlers will be notified when events occur.

Parameters
inIdentifier
inUserEventHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ BlockUser()

void BlockUser ( string  inUserId,
SbUserHandler  inCompletionHandler 
)

Blocks the specified User ID. Blocked User cannot send messages to the blocker.

Parameters
inUserId
inCompletionHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ Connect() [1/3]

void Connect ( string  inUserId,
SbUserHandler  inCompletionHandler 
)

Performs a connection to Sendbird with the user ID.

Parameters
inUserIdThe user ID.
inCompletionHandlerThe handler block to execute. user is the object to represent the current user.
Since
4.0.0

Implements ISendbirdChatClient.

◆ Connect() [2/3]

void Connect ( string  inUserId,
string  inAuthToken,
SbUserHandler  inCompletionHandler 
)

Performs a connection to Sendbird with the user ID and the access token.

Parameters
inUserIdThe user ID.
inAuthTokenThe auth token. If the user doesnt have auth token, set nil.
inCompletionHandlerThe handler block to execute. user is the object to represent the current user.
Since
4.0.0

Implements ISendbirdChatClient.

◆ Connect() [3/3]

void Connect ( string  inUserId,
string  inAuthToken,
string  inApiHost,
string  inWsHost,
SbUserHandler  inCompletionHandler 
)

Performs a connection to Sendbird with the user ID and the access token.

Parameters
inUserIdThe user ID.
inAuthTokenThe auth token. If the user doesnt have auth token, set nil.
inApiHostapiHost
inWsHostwsHost
inCompletionHandlerThe handler block to execute. user is the object to represent the current user.
Since
4.0.0

Implements ISendbirdChatClient.

◆ CreateApplicationUserListQuery()

SbApplicationUserListQuery CreateApplicationUserListQuery ( SbApplicationUserListQueryParams  inParams = null)

Creates a query instance to get the whole User list.

Since
4.0.0

Implements ISendbirdChatClient.

◆ CreateBlockedUserListQuery()

SbBlockedUserListQuery CreateBlockedUserListQuery ( SbBlockedUserListQueryParams  inParams = null)

Creates a query instance to get only the blocked User (by me) list.

Parameters
inParams
Returns
Since
4.0.0

Implements ISendbirdChatClient.

◆ CreateMessageSearchQuery()

SbMessageSearchQuery CreateMessageSearchQuery ( SbMessageSearchQueryParams  inParams = null)

Creates a query instance to search for a message.

Parameters
inParams
Returns
Since
4.0.0

Implements ISendbirdChatClient.

◆ Disconnect()

void Disconnect ( SbDisconnectHandler  inDisconnectHandler)

Disconnects from Sendbird. If this method is invoked, the current user will be invalidated.

Parameters
inDisconnectHandlerThe handler block to execute.
Since
4.0.0

Implements ISendbirdChatClient.

◆ GetChannelInvitationPreference()

void GetChannelInvitationPreference ( SbChannelInvitationPreferenceHandler  inCompletionHandler)

Gets group channel invitation preference for auto acceptance.

Parameters
inCompletionHandlerThe handler block to execute.
Since
4.0.0

Implements ISendbirdChatClient.

◆ GetConnectionState()

SbConnectionState GetConnectionState ( )

Gets the SDK connection state.

Since
4.0.0

Implements ISendbirdChatClient.

◆ GetDoNotDisturb()

void GetDoNotDisturb ( SbDoNotDisturbHandler  inCompletionHandler)

Gets Do-not-disturb option for the current User.

Parameters
inCompletionHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ GetMyPushTokensByToken()

void GetMyPushTokensByToken ( string  inToken,
SbPushTokenType  inPushTokenType,
SbPushTokensHandler  inCompletionHandler 
)

Requests push tokens of current user from given token. The result is passed to handler.

Parameters
inTokenThe token used to get next pagination of device push tokens.
inPushTokenTypeThe enum type to represent the type of push token.
inCompletionHandlerThe handler block to be executed after requests. This block has no return value and takes 5 arguments that are device push token list, push token type you are requesting, boolean that indicates having next pagination, token to be used next pagination and error.
Since
4.0.0

Implements ISendbirdChatClient.

◆ GetPushTemplate()

void GetPushTemplate ( SbPushTemplateHandler  inCompletionHandler)

Gets push template option for the current User. For details of push template option, refer to SetPushTemplate. This can be used, for instance, when you need to check the push notification content preview is on or off at the moment.

Parameters
inCompletionHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ GetPushTriggerOption()

void GetPushTriggerOption ( SbPushTriggerOptionHandler  inCompletionHandler)

Requests a setting that decides which push notification for the current user to receive in all the group channel.

Parameters
inCompletionHandler
Since
4.1.0

Implements ISendbirdChatClient.

◆ GetSnoozePeriod()

void GetSnoozePeriod ( SbSnoozePeriodHandler  inCompletionHandler)

Gets snooze period for the current User.

Parameters
inCompletionHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ Init()

void Init ( SbInitParams  inInitParams)

Initializes SendbirdChat with given app ID.

Parameters
inInitParams
Since
4.0.0

Implements ISendbirdChatClient.

◆ Reconnect()

bool Reconnect ( )

Starts reconnection explicitly. The ConnectionDelegate delegates will be invoked by the reconnection process.

Returns
true if there is the data to be used for reconnection.
Since
4.0.0

Implements ISendbirdChatClient.

◆ RegisterPushToken()

void RegisterPushToken ( SbPushTokenType  inPushTokenType,
string  inPushToken,
bool  inUnique,
SbPushTokenRegistrationStatusHandler  inCompletionHandler 
)

Registers push token for the current User to receive push notification.

Parameters
inPushTokenTypeThe enum type to represent the type of push token.
inPushTokenDevice token.
inUniqueIf true, register device token after removing existing all device tokens of the current user. If false, just add the device token.
inCompletionHandlerThe handler block to execute. status is the status for push token registration. It is defined in SbPushTokenRegistrationStatus.Success represents the devToken is registered. Pending represents the devToken is not registered because the connection is not established, so this method has to be invoked with getPendingPushToken method after the connection. Error represents the push token registration is failed.
Since
4.0.0

Implements ISendbirdChatClient.

◆ RemoveAllConnectionHandlers()

void RemoveAllConnectionHandlers ( )

Removes all connection handlers added by AddConnectionHandler.

Since
4.0.0

Implements ISendbirdChatClient.

◆ RemoveAllUserEventHandlers()

void RemoveAllUserEventHandlers ( )

Removes all user event handlers added by AddUseEventHandler.

Since
4.0.0

Implements ISendbirdChatClient.

◆ RemoveConnectionHandler()

void RemoveConnectionHandler ( string  inIdentifier)

Removes a connection handler. The deleted handler no longer be notified.

Parameters
inIdentifier
Since
4.0.0

Implements ISendbirdChatClient.

◆ RemoveUserEventHandler()

void RemoveUserEventHandler ( string  inIdentifier)

Removes a user event handler. The deleted handler no longer be notified.

Parameters
inIdentifier
Since
4.0.0

Implements ISendbirdChatClient.

◆ SetChannelInvitationPreference()

void SetChannelInvitationPreference ( bool  inAutoAccept,
SbErrorHandler  inCompletionHandler 
)

Sets group channel invitation preference for auto acceptance.

Parameters
inAutoAcceptIf true, the current user will accept the group channel invitation automatically.
inCompletionHandlerThe handler block to execute.
Since
4.0.0

Implements ISendbirdChatClient.

◆ SetDoNotDisturb()

void SetDoNotDisturb ( bool  inEnabled,
int  inStartHour,
int  inStartMin,
int  inEndHour,
int  inEndMin,
string  inTimezone,
SbErrorHandler  inCompletionHandler 
)

Sets Do-not-disturb option for the current User. If this option is enabled, the current User does not receive push notification during the specified time repeatedly. If you want to snooze specific period, use SetSnoozePeriod.

Parameters
inEnabledEnables or not.
inStartHourStart hour.
inStartMinStart minute.
inEndHourEnd hour.
inEndMinEnd minute.
inTimezoneSets timezone.
inCompletionHandlerThe handler block to execute.
Since
4.0.0

Implements ISendbirdChatClient.

◆ SetPushTemplate()

void SetPushTemplate ( string  inTemplateName,
SbErrorHandler  inCompletionHandler 
)

Sets push template option for the current User.

Parameters
inTemplateNameThe name of push template.
inCompletionHandlerThe handler block to execute.
Since
4.0.0

Implements ISendbirdChatClient.

◆ SetPushTriggerOption()

void SetPushTriggerOption ( SbPushTriggerOption  inPushTriggerOption,
SbErrorHandler  inCompletionHandler 
)

Changes a setting that decides which push notification for the current user to receive in all the group channel.

Parameters
inPushTriggerOption
inCompletionHandler

///

Since
4.1.0

Implements ISendbirdChatClient.

◆ SetSessionHandler()

void SetSessionHandler ( SbSessionHandler  inSessionHandler)

Set a SessionHandler which is required for SDK refresh the session when the current session expires.

Parameters
inSessionHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ SetSnoozePeriod()

void SetSnoozePeriod ( bool  inEnabled,
long  inStartTimestamp,
long  inEndTimestamp,
SbErrorHandler  inCompletionHandler 
)

Sets snooze period for the current User. If this option is enabled, the current User does not receive push notification during the given period. It's not a repetitive operation. If you want to snooze repeatedly, use SetDoNotDisturb.

Parameters
inEnabledEnabled means snooze remote push notification in duration. If set to disabled, current user can receive remote push notification.
inStartTimestampUnix timestamp to start snooze.
inEndTimestampUnix timestamp to end snooze.
inCompletionHandlerThe handler block to execute when setting notification snoozed is complete.
Since
4.0.0

Implements ISendbirdChatClient.

◆ UnblockUser()

void UnblockUser ( string  inUserId,
SbErrorHandler  inCompletionHandler 
)

Unblocks the specified User ID. Unblocked User cannot send messages to the ex-blocker.

Parameters
inUserId
inCompletionHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ UnregisterAllPushToken()

void UnregisterAllPushToken ( SbErrorHandler  inCompletionHandler)

Unregisters all push token bound to the current User.

Parameters
inCompletionHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ UnregisterPushToken()

void UnregisterPushToken ( SbPushTokenType  inPushTokenType,
string  inPushToken,
SbErrorHandler  inCompletionHandler 
)

Unregisters push token for the current User.

Parameters
inPushTokenType
inPushToken
inCompletionHandler
Since
4.0.0

Implements ISendbirdChatClient.

◆ UpdateCurrentUserInfo() [1/2]

void UpdateCurrentUserInfo ( List< string >  inPreferredLanguages,
SbErrorHandler  inCompletionHandler 
)

Updates current User's information.

Parameters
inPreferredLanguagesNew array of preferred languages
inCompletionHandlerThe handler block to execute.
Since
4.0.0

Implements ISendbirdChatClient.

◆ UpdateCurrentUserInfo() [2/2]

void UpdateCurrentUserInfo ( SbUserUpdateParams  inParams,
SbErrorHandler  inCompletionHandler 
)

Updates current User's information.

Parameters
inParams
inCompletionHandler
Since
4.0.0

Implements ISendbirdChatClient.

Property Documentation

◆ AppInfo

SbAppInfo AppInfo
get

Represents information obtained from the application settings.

Since
4.0.0

Implements ISendbirdChatClient.

◆ ApplicationId

string ApplicationId
get

Current application ID.

Since
4.0.0

Implements ISendbirdChatClient.

◆ CurrentUser

SbUser CurrentUser
get

The current connected User. null if connect is not called.

Since
4.0.0

Implements ISendbirdChatClient.

◆ EKey

string EKey
get

The key to authenticate the url retrieved from SbFileMessage.PlainUrl, SbUser.PlainProfileImageUrl and SbThumbnail.PlainUrl. This key has to be put into the HTTP header to access the url provided by above methods.

Since
4.0.0

Implements ISendbirdChatClient.

◆ GroupChannel

SbGroupChannelModule GroupChannel
get

SbGroupChannelModule class.

Since
4.0.0

Implements ISendbirdChatClient.

◆ Message

SbMessageModule Message
get

SbMessageModule class.

Since
4.0.0

Implements ISendbirdChatClient.

◆ OpenChannel

SbOpenChannelModule OpenChannel
get

SbOpenChannelModule class.

Since
4.0.0

Implements ISendbirdChatClient.

◆ Options

SendbirdChatOptions Options
get

SendbirdChatOptions class.

Since
4.0.0

Implements ISendbirdChatClient.

◆ OSVersion

string OSVersion
get

Current OS version.

Since
4.0.0

Implements ISendbirdChatClient.

◆ SDKVersion

string SDKVersion
get

Current SDK version.

Since
4.0.0

Implements ISendbirdChatClient.