InitResultHandler

Handler to receive SendbirdChat.init function call processing results. All SDK requests are available after onInitSucceeded is called.

Since

3.1.0

Functions

Link copied to clipboard

Called when an unexpected problem occurs during the initialization process.

Link copied to clipboard
abstract fun onInitSucceed()

It will be called when the SendbirdChat.init() is finished successfully. For example, connect to SendbirdChat operation must call after this. If not, you will face an error.

Link copied to clipboard
abstract fun onMigrationStarted()

If you are using local caching, it can be called if a database migration occurs. If this callback is called, the application requires processing, such as a dialog in progress, because the processing operation can take a long time.