getDeltaTime

public abstract long getDeltaTime()

Retrieves 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. Use System.currentTimeMillis() - getDeltaTime() to obtain the current server time.

Return

The difference between local time and server time.