Package io.rong.calllib

## Class Utils

- All Implemented Interfaces:

      public class Utils

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static String` | `ENGINE_NOT_FOUND` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Utils()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | `parseUserId(String uid)` |
    `static String` | `parseTag(String uid)` |
    `static String` | `getTargetId(RongCallSession rongCallSession)` |
    `static String` | `getRoomId(RongCallSession rongCallSession)` |
    `static String` | `getConversationTypeName(RongCallSession rongCallSession)` |
    `static String` | `rongCallSessionToString(RongCallSession callSession)` |
    `static String` | `listToString(List list)` |
    `static String` | `getObjectHashCode(Object o)` |
    `static String` | `getIMDeviceID()` | 获取IMLib中存储的deviceID。因为IMLib中没有封装合适的对外方法，所以直接操作SP获取。
    `static String` | `getStreamId(String userId, String tag)` |
    `static boolean` | `isConnected()` |
    `static String` | `getCurrentConnectionStatusName()` |

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

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

- - ### Constructor Detail

    - #### Utils

          Utils()

  - ### Method Detail

    - #### parseUserId

           static String parseUserId(String uid)

    - #### parseTag

           static String parseTag(String uid)

    - #### getTargetId

           static String getTargetId(RongCallSession rongCallSession)

    - #### getRoomId

           static String getRoomId(RongCallSession rongCallSession)

    - #### getConversationTypeName

           static String getConversationTypeName(RongCallSession rongCallSession)

    - #### rongCallSessionToString

           static String rongCallSessionToString(RongCallSession callSession)

    - #### listToString

           static String listToString(List list)

    - #### getObjectHashCode

           static String getObjectHashCode(Object o)

    - #### getIMDeviceID

           static String getIMDeviceID()

      获取IMLib中存储的deviceID。因为IMLib中没有封装合适的对外方法，所以直接操作SP获取。

    - #### getStreamId

           static String getStreamId(String userId, String tag)

    - #### isConnected

           static boolean isConnected()

    - #### getCurrentConnectionStatusName

           static String getCurrentConnectionStatusName()