Package 

Object MessagePositionHandler.Companion

    • Method Summary

      Modifier and Type Method Description
      final MessagePositionHandler defaultHandler(Long maxGroupTimeMillis) The default implementation of the MessagePositionHandler interface which can be taken as a reference when implementing a custom one.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • defaultHandler

         final MessagePositionHandler defaultHandler(Long maxGroupTimeMillis)

        The default implementation of the MessagePositionHandler interface which can be taken as a reference when implementing a custom one.

        Parameters:
        maxGroupTimeMillis - The maximum time difference (in milliseconds) between consecutive messages from the same user before they are split into separate groups.