Package io.rong.imlib

## Class ConnectionService

- All Implemented Interfaces:

      public class ConnectionService

- - ### 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
    --- | --- | ---
    `static ConnectionService` | `getInstance()` |
    `URLCenter` | `getUrlCenter()` |
    `void` | `requestNavi(boolean shouldNotifyObserver, String reason)` |
    `IRongCoreListener.ConnectionStatusListener.ConnectionStatus` | `getCurrentConnectStatus()` |
    `void` | `addDatabaseStatusListener(IOnDatabaseStatusListener listener)` |
    `void` | `removeDatabaseStatusListener(IOnDatabaseStatusListener listener)` |
    `boolean` | `isAppkeyBlocked()` |

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### getInstance

           static ConnectionService getInstance()

    - #### getUrlCenter

           URLCenter getUrlCenter()

    - #### requestNavi

           void requestNavi(boolean shouldNotifyObserver, String reason)

    - #### getCurrentConnectStatus

           IRongCoreListener.ConnectionStatusListener.ConnectionStatus getCurrentConnectStatus()

    - #### addDatabaseStatusListener

           void addDatabaseStatusListener(IOnDatabaseStatusListener listener)

    - #### removeDatabaseStatusListener

           void removeDatabaseStatusListener(IOnDatabaseStatusListener listener)

    - #### isAppkeyBlocked

           boolean isAppkeyBlocked()