Package io.rong.imlib.params

## Class SearchMessageParams

- All Implemented Interfaces:

      public class SearchMessageParams

  本地消息搜索参数。

  查询时间轴： 0--------startTime--------------------endTime---------Now() 正序（order == RCOrderAscending）查询： 0--------startTime|---->--------------endTime---------Now() 倒序（order == RCOrderDescending）查询个数： 0--------startTime--------------<----|endTime---------Now() 倒序有位移(offset)查询： 0--------startTime----------<----|----endTime---------Now() - Since: 5.22.0

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `public enum` | `SearchMessageParams.Order` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static Creator<SearchMessageParams>` | `CREATOR` |
    `public String` | `keyword` |
    `public int` | `limit` |
    `public int` | `offset` |
    `public SearchMessageParams.Order` | `order` |
    `public TimeRange` | `timeRange` |
    `public ConversationFilter` | `conversationFilter` |
    `public MessageFilter` | `messageFilter` |

  - ### Constructor Summary

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

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getKeyword()` |
    `void` | `setKeyword(String keyword)` |
    `int` | `getLimit()` |
    `void` | `setLimit(int limit)` |
    `int` | `getOffset()` |
    `void` | `setOffset(int offset)` |
    `SearchMessageParams.Order` | `getOrder()` |
    `void` | `setOrder(SearchMessageParams.Order order)` |
    `TimeRange` | `getTimeRange()` |
    `void` | `setTimeRange(TimeRange timeRange)` |
    `ConversationFilter` | `getConversationFilter()` |
    `void` | `setConversationFilter(ConversationFilter conversationFilter)` |
    `MessageFilter` | `getMessageFilter()` |
    `void` | `setMessageFilter(MessageFilter messageFilter)` |
    `int` | `describeContents()` |
    `void` | `writeToParcel(Parcel dest, int flags)` |
    `String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### SearchMessageParams

          SearchMessageParams()

  - ### Method Detail

    - #### getKeyword

           String getKeyword()

    - #### setKeyword

           void setKeyword(String keyword)

    - #### getLimit

           int getLimit()

    - #### setLimit

           void setLimit(int limit)

    - #### getOffset

           int getOffset()

    - #### setOffset

           void setOffset(int offset)

    - #### getOrder

           SearchMessageParams.Order getOrder()

    - #### setOrder

           void setOrder(SearchMessageParams.Order order)

    - #### getTimeRange

           TimeRange getTimeRange()

    - #### setTimeRange

           void setTimeRange(TimeRange timeRange)

    - #### getConversationFilter

           ConversationFilter getConversationFilter()

    - #### setConversationFilter

           void setConversationFilter(ConversationFilter conversationFilter)

    - #### getMessageFilter

           MessageFilter getMessageFilter()

    - #### setMessageFilter

           void setMessageFilter(MessageFilter messageFilter)

    - #### describeContents

           int describeContents()

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)

    - #### toString

           String toString()