Package io.rong.imkit.config

## Class ConversationListConfig

- All Implemented Interfaces:

      public class ConversationListConfig

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public int` | `delayRefreshTime` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ConversationListConfig()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getDelayRefreshTime()` |
    `void` | `setDelayRefreshTime(int delayRefreshTime)` | 设置会话列表延时刷新时间，此值不能设置为500ms
    `void` | `initConfig(Context context)` |
    `void` | `setBehaviorListener(ConversationListBehaviorListener listener)` |
    `void` | `setCountPerPage(int count)` |
    `void` | `)>setConversationListProvider(ProviderManager<BaseUiConversation> providerManager)` |
    `void` | `setConversationProvider(BaseConversationProvider provider)` |
    `ProviderManager<BaseUiConversation>` | `getProviderManager()` |
    `boolean` | `isEnableAutomaticDownloadHQVoice()` |
    `void` | `setEnableAutomaticDownloadHQVoice(boolean enable)` |
    `DataProcessor<Conversation>` | `getDataProcessor()` |
    `void` | `)>setDataProcessor(DataProcessor<Conversation> dataFilter)` | 设置数据处理器。
    `void` | `)>setDataProcessor(BaseDataProcessor<Conversation> dataFilter)` |
    `ConversationListBehaviorListener` | `getListener()` |
    `boolean` | `isEnableConnectStateNotice()` |
    `int` | `getConversationCountPerPage()` |
    `boolean` | `isTopPriority()` |
    `void` | `setTopPriority(boolean topPriority)` | ConversationListViewModel 拉取会话列表是否优先显示置顶会话

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ConversationListConfig

          ConversationListConfig()

  - ### Method Detail

    - #### getDelayRefreshTime

           int getDelayRefreshTime()

    - #### setDelayRefreshTime

           void setDelayRefreshTime(int delayRefreshTime)

      设置会话列表延时刷新时间，此值不能设置为500ms

      Parameters:
        `delayRefreshTime` - 毫秒

    - #### initConfig

           void initConfig(Context context)

    - #### setBehaviorListener

           void setBehaviorListener(ConversationListBehaviorListener listener)

    - #### setCountPerPage

           void setCountPerPage(int count)

    - #### setConversationListProvider

           void )>setConversationListProvider(ProviderManager<BaseUiConversation> providerManager)

    - #### setConversationProvider

           void setConversationProvider(BaseConversationProvider provider)

    - #### getProviderManager

           ProviderManager<BaseUiConversation> getProviderManager()

    - #### isEnableAutomaticDownloadHQVoice

           boolean isEnableAutomaticDownloadHQVoice()

    - #### setEnableAutomaticDownloadHQVoice

           void setEnableAutomaticDownloadHQVoice(boolean enable)

    - #### getDataProcessor

           DataProcessor<Conversation> getDataProcessor()

    - #### setDataProcessor

          @Deprecated() void )>setDataProcessor(DataProcessor<Conversation> dataFilter)

      设置数据处理器。

      Parameters:
        `dataFilter` - 处理器

    - #### setDataProcessor

           void )>setDataProcessor(BaseDataProcessor<Conversation> dataFilter)

    - #### getListener

           ConversationListBehaviorListener getListener()

    - #### isEnableConnectStateNotice

           boolean isEnableConnectStateNotice()

    - #### getConversationCountPerPage

           int getConversationCountPerPage()

    - #### isTopPriority

           boolean isTopPriority()

    - #### setTopPriority

           void setTopPriority(boolean topPriority)

      ConversationListViewModel 拉取会话列表是否优先显示置顶会话

      Parameters:
        `topPriority` - 是否优先显示置顶会话（查询结果的排序方式，是否置顶优先，传 true 表示置顶会话优先返回，传 false 结果只以会话时间排序）