Sendbird Chat SDK for Unity
|
Public Member Functions | |
void | CreateChannel (SbOpenChannelCreateParams inChannelCreateParams, SbOpenChannelCallbackHandler inCompletionHandler) |
Creates a open channel with SbOpenChannelCreateParams class. More... | |
void | GetChannel (string inChannelUrl, SbGetOpenChannelHandler inCompletionHandler) |
Gets an open channel instance from channel URL. More... | |
SbOpenChannelListQuery | CreateOpenChannelListQuery (SbOpenChannelListQueryParams inOpenChannelListQueryParams) |
Creates a query instance for open channel list. More... | |
void | AddOpenChannelHandler (string inIdentifier, SbOpenChannelHandler inChannelHandler) |
Adds a channel handler. All added handlers will be notified when events occur. More... | |
void | RemoveOpenChannelHandler (string inIdentifier) |
Removes a channel handler. The deleted handler no longer be notified. More... | |
void | RemoveAllOpenChannelHandlers () |
Removes all channel handlers added by AddOpenChannelHandler. More... | |
void AddOpenChannelHandler | ( | string | inIdentifier, |
SbOpenChannelHandler | inChannelHandler | ||
) |
Adds a channel handler. All added handlers will be notified when events occur.
inIdentifier | The identifier for handler. |
inChannelHandler |
void CreateChannel | ( | SbOpenChannelCreateParams | inChannelCreateParams, |
SbOpenChannelCallbackHandler | inCompletionHandler | ||
) |
Creates a open channel with SbOpenChannelCreateParams class.
inChannelCreateParams | Instance of SbOpenChannelCreateParams what has properties to create open channel. |
inCompletionHandler | Handler block to execute. channel is the open channel instance. |
SbOpenChannelListQuery CreateOpenChannelListQuery | ( | SbOpenChannelListQueryParams | inOpenChannelListQueryParams | ) |
Creates a query instance for open channel list.
inOpenChannelListQueryParams | The params object to change query condition. |
void GetChannel | ( | string | inChannelUrl, |
SbGetOpenChannelHandler | inCompletionHandler | ||
) |
Gets an open channel instance from channel URL.
inChannelUrl | The channel URL. |
inCompletionHandler | The handler block to execute. channel is the open channel instance which has the channelURL. |
void RemoveAllOpenChannelHandlers | ( | ) |
Removes all channel handlers added by AddOpenChannelHandler.
void RemoveOpenChannelHandler | ( | string | inIdentifier | ) |
Removes a channel handler. The deleted handler no longer be notified.
inIdentifier |