# Utils

public class Utils

## Constructors

Utils
Link copied to clipboard
public void Utils()

## Properties

ENGINE_NOT_FOUND
Link copied to clipboard
public final static String ENGINE_NOT_FOUND
开通的音视频服务没有及时生效或音视频服务已关闭，请等待3-5小时后重新安装应用或开启音视频服务再进行测试

## Functions

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