onHugeGapDetected

abstract fun onHugeGapDetected()

Called when the collection has detected a huge gap between current message list. This can happen SDK checks for missing messages, which occurs in two cases.

  1. when a reconnection occurs (changed from disconnected state to connected state)

  2. when the androidx.lifecycle.Lifecycle.Event.ON_RESUME is called. Normally, switching between android.app.Activity. When this called, you should call collection.dispose to remove current collection and create a new collection.

Since

3.1.0