getDeltaTime

public abstract long getDeltaTime()

Gets the time difference between local time and server time.

After a message is successfully sent, the SDK synchronizes time with the server. The time stored in the message database is the server time. System.currentTimeMillis() - getDeltaTime() can be used to get the current server time.

Return

The difference between local time and server time.

Since

5.0.0