Package io.rong.imlib.model

## Class TranslateMessageParam

- All Implemented Interfaces:

      public class TranslateMessageParam

  翻译消息参数

  Since:

    5.24.0

  Author:

    rongcloud

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public String` | `sourceLanguage` |
    `public String` | `targetLanguage` |
    `public final static Creator<TranslateMessageParam>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TranslateMessageParam(String messageUId)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getSourceLanguage()` | 获取源语言
    `void` | `setSourceLanguage(String sourceLanguage)` | 设置源语言
    `String` | `getTargetLanguage()` | 获取目标语言
    `void` | `setTargetLanguage(String targetLanguage)` | 设置目标语言
    `void` | `writeToParcel(Parcel dest, int flags)` |
    `int` | `describeContents()` |
    `final String` | `getIdentifier()` | 获取标识符，用于匹配翻译结果
    `String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### TranslateMessageParam

          TranslateMessageParam(String messageUId)

  - ### Method Detail

    - #### getSourceLanguage

           String getSourceLanguage()

      获取源语言

      Returns:

        源语言

    - #### setSourceLanguage

           void setSourceLanguage(String sourceLanguage)

      设置源语言

      Parameters:
        `sourceLanguage` - 源语言

    - #### getTargetLanguage

           String getTargetLanguage()

      获取目标语言

      Returns:

        目标语言

    - #### setTargetLanguage

           void setTargetLanguage(String targetLanguage)

      设置目标语言

      Parameters:
        `targetLanguage` - 目标语言

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)

    - #### describeContents

           int describeContents()

    - #### getIdentifier

           final String getIdentifier()

      获取标识符，用于匹配翻译结果

      Returns:

        标识符

    - #### toString

           String toString()