# TranslateMessageParam

public class TranslateMessageParam

翻译消息参数

#### Author

rongcloud

#### Since

5.24.0

## Constructors

TranslateMessageParam
Link copied to clipboard
public void TranslateMessageParam(String messageUId)

## Properties

CREATOR
Link copied to clipboard
public final static Creator<TranslateMessageParam> CREATOR
sourceLanguage
Link copied to clipboard
public String sourceLanguage
源语言，默认值 'auto'
targetLanguage
Link copied to clipboard
public String targetLanguage
目标语言，选填，未传时取用户级配置，未取到配置时默认翻译为中文

## Functions

describeContents
Link copied to clipboard
public int describeContents()
getIdentifier
Link copied to clipboard
public final String getIdentifier()
获取标识符，用于匹配翻译结果
getSourceLanguage
Link copied to clipboard
public String getSourceLanguage()
获取源语言
getTargetLanguage
Link copied to clipboard
public String getTargetLanguage()
获取目标语言
setSourceLanguage
Link copied to clipboard
public void setSourceLanguage(String sourceLanguage)
设置源语言
setTargetLanguage
Link copied to clipboard
public void setTargetLanguage(String targetLanguage)
设置目标语言
toString
Link copied to clipboard
public String toString()
writeToParcel
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)