V2TIMOfflinePushManager class Null safety Manager

提供离线推送相关的接口

setOfflinePushConfig设置离线推送配置信息

doBackgroundAPP 检测到应用退后台时可以调用此接口,可以用作桌面应用角标的初始化未读数量

doForegroundAPP 检测到应用进前台时可以调用此接口

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

doBackground({required int unreadCount}) Future<V2TimCallback>
APP 检测到应用退后台时可以调用此接口,可以用作桌面应用角标的初始化未读数量。 [...]
doForeground() Future<V2TimCallback>
APP 检测到应用进前台时可以调用此接口 [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setOfflinePushConfig({required double businessID, required String token}) Future<V2TimCallback>
设置离线推送配置信息 [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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