Package io.rong.imkit.feature.editmessage

## Class EditMessageUtils

- All Implemented Interfaces:

      public class EditMessageUtils

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

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

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | `getDisplayName(Message message)` |
    `static String` | `getReferContent(Message message)` |
    `static EditedMessageDraft` | `convertDraftString(EditMessageConfig config)` | 把Kit使用的 EditMessageConfig，转换为Lib接口的草稿数据 EditedMessageDraft
    `static EditMessageConfig` | `convertEditMessageConfig(EditedMessageDraft draft)` | 把Lib接口查的草稿数据 EditedMessageDraft，转换为Kit使用的 EditMessageConfig

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

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

- - ### Constructor Detail

    - #### EditMessageUtils

          EditMessageUtils()

  - ### Method Detail

    - #### getDisplayName

           static String getDisplayName(Message message)

    - #### getReferContent

           static String getReferContent(Message message)

    - #### convertDraftString

           static EditedMessageDraft convertDraftString(EditMessageConfig config)

      把Kit使用的 EditMessageConfig，转换为Lib接口的草稿数据 EditedMessageDraft

      Parameters:
        `config` - EditMessageConfig
      Returns:

        EditedMessageDraft

    - #### convertEditMessageConfig

           static EditMessageConfig convertEditMessageConfig(EditedMessageDraft draft)

      把Lib接口查的草稿数据 EditedMessageDraft，转换为Kit使用的 EditMessageConfig

      Parameters:
        `draft` - EditedMessageDraft
      Returns:

        EditMessageConfig