EMPushManager class

Constructors

EMPushManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getImPushConfig() Future<EMImPushConfig>
从本地获取ImPushConfig
getImPushConfigFromServer() Future<EMImPushConfig>
从服务器获取ImPushConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateAPNsDeviceToken(String token) Future<bool>
上传iOS推送deviceToken
updateFCMPushToken(String token) Future<bool?>
上传FCM推送token, 需要确保登录成功后再调用(可以是进入home页面后)
updateHMSPushToken(String token) Future<bool?>
上传华为推送token, 需要确保登录成功后再调用(可以是进入home页面后)
updatePushNickname(String nickname) Future<bool?>
更新当前用户的nickname,这样离线消息推送的时候可以显示用户昵称而不是id,需要登录环信服务器成功后调用才生效

Operators

operator ==(Object other) bool
The equality operator.
inherited