EMPushConfig class Null safety

Constructors

EMPushConfig()
EMPushConfig.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

enableAPNs(String certName) → void
开启苹果推送,具体申请证书和上传流程请参考文档 http://docs-im.easemob.com/im/ios/apns/deploy
enableFCM(String appId) → void
enableHWPush() → void
华为推送,具体流程请访问 http://docs-im.easemob.com/im/android/push/thirdpartypush
enableMeiZuPush(String appId, String appKey) → void
开启魅族推送, appId是推送用AppId, appKey是推送用AppKey。申请流程请访问 http://docs-im.easemob.com/im/android/push/thirdpartypush
enableMiPush(String appId, String appKey) → void
开启小米推送, appId是推送用AppId, appKey是推送用AppKey。申请流程请访问 http://docs-im.easemob.com/im/android/push/thirdpartypush
enableOppPush(String appKey, String secret) → void
开启Oppo推送,appkey是Oppo的appkey,secret是Oppo的secret。申请流程访问 http://docs-im.easemob.com/im/android/push/thirdpartypush
enableVivoPush() → void
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