V2TIMOfflinePushManager class Null safety Manager

Provide offline push APIs

setOfflinePushConfigSet offline push configuration

doBackgroundThe APP can call this interface when it detects that the application has exited the background. It can be used as the initial unread number of the desktop application corner.

doForegroundThis API can be called when the app detects that the app switches to the foreground.

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>
This API can be called when the app detects that the app switches to the background. It can be used to specify the initial unread count of the desktop badge. [...]
doForeground() Future<V2TimCallback>
This API can be called when the app detects that the app switches to the foreground. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setOfflinePushConfig({required double businessID, required String token, bool isTPNSToken = false}) Future<V2TimCallback>
Set offline push configuration [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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