Package io.rong.imlib

## Interface IRongCoreListener.DatabaseUpgradeStatusListener

- All Implemented Interfaces:

      public interface IRongCoreListener.DatabaseUpgradeStatusListener

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `databaseUpgradeWillStart()` | 数据库升级开始回调
    `abstract void` | `databaseIsUpgrading(int progress)` | 数据库升级进行中回调
    `abstract void` | `databaseUpgradeDidComplete(IRongCoreEnum.CoreErrorCode code)` | 数据库升级完成回调

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### databaseUpgradeWillStart

           abstract void databaseUpgradeWillStart()

      数据库升级开始回调

    - #### databaseIsUpgrading

           abstract void databaseIsUpgrading(int progress)

      数据库升级进行中回调

      Parameters:
        `progress` - 取值范围0~100

    - #### databaseUpgradeDidComplete

           abstract void databaseUpgradeDidComplete(IRongCoreEnum.CoreErrorCode code)

      数据库升级完成回调

      Parameters:
        `code` - 升级成功返回 {IRongCoreEnum.CoreErrorCode.SUCCESS} , 升级失败返回 {IRongCoreEnum.CoreErrorCode.