V2TIMOfflinePushManager class Manager
提供离线推送相关的接口
setOfflinePushConfig设置离线推送配置信息
doBackgroundAPP 检测到应用退后台时可以调用此接口,可以用作桌面应用角标的初始化未读数量
doForegroundAPP 检测到应用进前台时可以调用此接口
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
-
doBackground(
{required int unreadCount}) → Future< V2TimCallback> - APP 检测到应用退后台时可以调用此接口,可以用作桌面应用角标的初始化未读数量。
-
doForeground(
) → Future< V2TimCallback> - APP 检测到应用进前台时可以调用此接口
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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