Update README.md

This commit is contained in:
hrxiang 2022-02-28 14:05:37 +08:00
parent 23fa27d2cc
commit f40d4148a8

View File

@ -8,6 +8,8 @@ OpenIM.iMManager.initSDK(
apiAddr: "", // SDK的API接口地址。如http:xxx:10000
wsAddr: "", // SDK的web socket地址。如 ws:xxx:17778
dataDir: "", // 数据存储路径。如var apath =(await getApplicationDocumentsDirectory()).path
objectStorage: 'cos', // 图片服务器默认'cos'
logLevel: 6, // 日志等级默认值6
listener: OnConnectListener(
onConnectSuccess: () {
// 已经成功连接到服务器