Properties
-
acceptInvitationAlways
↔ bool?
-
自动同意好友申请,当设置为
true
时,
您在线时收到好友申请将自动同意,
如您不在线,等您上线后会自动同意。
read / write
-
appKey
↔ String?
-
环信 appKey, 必须设置。
read / write
-
autoAcceptGroupInvitation
↔ bool?
-
是否自动同意群邀请,当设置为
true
时,
您在线时收到加群邀请会自动同意,
如您不在线,等您上线后会自动同意。
read / write
-
autoLogin
↔ bool?
-
是否自动登录,当为
true
时,首次登录成功后,您再次启动App时,sdk会在
初始化后自定为您登录上一次登录的账号。
read / write
-
debugModel
↔ bool?
-
read / write
-
deleteMessagesAsExitChatRoom
↔ bool?
-
退出聊天室时是否删除相应会话, 当为
true
时,
您离开聊天室后对应的聊天室消息会被删除。
read / write
-
deleteMessagesAsExitGroup
↔ bool?
-
退出群组时是否删除相应会话, 当为
true
时,
您离开群组后对应的群消息会被删除。
read / write
-
dnsUrl
↔ String?
-
read / write
-
enableDNSConfig
↔ bool?
-
read / write
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
imPort
↔ int?
-
read / write
-
imServer
↔ String?
-
read / write
-
isAutoDownload
↔ bool?
-
read / write
-
isChatRoomOwnerLeaveAllowed
↔ bool?
-
是否允许聊天室创建者退出聊天室,当为
true
时,
聊天室创建者可以退出聊天室。
read / write
-
pushConfig
↔ EMPushConfig?
-
read / write
-
requireAck
↔ bool?
-
是否允许发送已读回执,默认值为
ture
,
当为false时,当您通过EMChatManager调用sendMessageReadAck无效;
read / write
-
requireDeliveryAck
↔ bool?
-
是否发送已送达回执,默认为
false
, 当为ture
时,
您收到消息后会自动相对方发送已送达回执。
对方可以通过onMessagesDelivered()
方法监听;
read / write
-
restServer
↔ String?
-
read / write
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
-
serverTransfer
↔ bool?
-
read / write
-
sortMessageByServerTime
↔ bool?
-
消息按照服务器时间排序, 当为
true
时,您从数据库中
获取的消息是按照服务器时间排序的,否则是按照消息的本地时间排序。
read / write
-
usingHttpsOnly
↔ bool?
-
read / write
Methods
-
customServerInfo({required String customRestServer, required String customImServer, required int customImPort})
→ void
-
设置自定义server地址
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson()
→ Map<String, dynamic>
-
-
toString()
→ String
-
A string representation of this object. [...]
Operators
-
operator ==(Object other)
→ bool
-
The equality operator. [...]
inherited