Class SubscribeQueryParams

  • All Implemented Interfaces:

    
    public final class SubscribeQueryParams
    
                        

    Subscription event pagination query parameters.

    Used with ai.nexconn.chat.user.UserModule.createSubscribeQuery to create a pagination query object. All parameters are immutable after creation to ensure consistency during the query process.

    Usage Example:

    val params = SubscribeQueryParams(
        subscribeType = SubscribeType.ONLINE_STATUS,
        pageSize = 50
    )
    val query = NCEngine.user.createSubscribeQuery(params)
    query.loadNextPage { list, error -> ... }
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final SubscribeType getSubscribeType()
      final Integer getPageSize()
      String toString()
      • Methods inherited from class java.lang.Object

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

      • SubscribeQueryParams

        SubscribeQueryParams(SubscribeType subscribeType, Integer pageSize)
        Parameters:
        subscribeType - Subscription event type to query.
        pageSize - Number of items per page.