-
public interface InitResultHandler
Handler to receive SendBird.init function call processing results. All SDK requests are available after onInitSucceeded is called.
since 3.1.0
-
-
Method Summary
Modifier and Type Method Description abstract Unit
onMigrationStarted()
If you are using local caching, it can be called if a database migration occurs. abstract Unit
onInitFailed(SendBirdException e)
Called when an unexpected problem occurs during the initialization process. abstract Unit
onInitSucceed()
It will be called when the SendBird.init() is finished successfully. -
-
Method Detail
-
onMigrationStarted
abstract Unit 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.
since 3.1.0
-
onInitFailed
abstract Unit onInitFailed(SendBirdException e)
Called when an unexpected problem occurs during the initialization process.
since 3.1.0
- Parameters:
e
- Called if init operation is failed.
-
onInitSucceed
abstract Unit onInitSucceed()
It will be called when the SendBird.init() is finished successfully. For example, connect to SendBird operation must call after this. If not, you will face an error.
since 3.1.0
-
-
-
-