Update README.md

main
hrxiang 3 years ago
parent 23fa27d2cc
commit f40d4148a8
  1. 2
      README.zh-cn.md

@ -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: () {
// 已经成功连接到服务器

Loading…
Cancel
Save