Update README.md
This commit is contained in:
parent
23fa27d2cc
commit
f40d4148a8
@ -8,6 +8,8 @@ OpenIM.iMManager.initSDK(
|
|||||||
apiAddr: "", // SDK的API接口地址。如:http:xxx:10000
|
apiAddr: "", // SDK的API接口地址。如:http:xxx:10000
|
||||||
wsAddr: "", // SDK的web socket地址。如: ws:xxx:17778
|
wsAddr: "", // SDK的web socket地址。如: ws:xxx:17778
|
||||||
dataDir: "", // 数据存储路径。如:var apath =(await getApplicationDocumentsDirectory()).path
|
dataDir: "", // 数据存储路径。如:var apath =(await getApplicationDocumentsDirectory()).path
|
||||||
|
objectStorage: 'cos', // 图片服务器默认'cos'
|
||||||
|
logLevel: 6, // 日志等级,默认值6
|
||||||
listener: OnConnectListener(
|
listener: OnConnectListener(
|
||||||
onConnectSuccess: () {
|
onConnectSuccess: () {
|
||||||
// 已经成功连接到服务器
|
// 已经成功连接到服务器
|
||||||
|
Loading…
x
Reference in New Issue
Block a user