UmengPushSdk class

Constructors

UmengPushSdk()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

addAlias(String alias, String type) Future<bool?>
addTags(List<String> tags) Future<bool?>
getRegisteredId() Future<String?>
获取推送id
getTags() Future<List?>
register() Future<void>
初始化推送
removeAlias(String alias, String type) Future<bool?>
removeTags(List<String> tags) Future<bool?>
setAlias(String alias, String type) Future<bool?>
setMessageCallback(Callback? callback) → void
设置自定义消息回调
setPushEnable(bool enable) Future<void>
setTokenCallback(Callback? callback) → void
设置token回调