# TranslateInfo

public class TranslateInfo

翻译信息

#### Author

rongcloud

#### Since

5.24.0

## Constructors

TranslateInfo
Link copied to clipboard
public void TranslateInfo()

## Types

TranslateStatus
Link copied to clipboard
public enum TranslateStatus
翻译状态枚举

## Properties

CREATOR
Link copied to clipboard
public final static Creator<TranslateInfo> CREATOR
status
Link copied to clipboard
public TranslateInfo.TranslateStatus status
翻译状态
targetLanguage
Link copied to clipboard
public String targetLanguage
翻译语言
translatedText
Link copied to clipboard
public String translatedText
已翻译内容

## Functions

describeContents
Link copied to clipboard
public int describeContents()
getStatus
Link copied to clipboard
public TranslateInfo.TranslateStatus getStatus()
获取翻译状态
getTargetLanguage
Link copied to clipboard
public String getTargetLanguage()
获取翻译语言
getTranslatedText
Link copied to clipboard
public String getTranslatedText()
获取已翻译内容
setStatus
Link copied to clipboard
public void setStatus(TranslateInfo.TranslateStatus status)
设置翻译状态
setTargetLanguage
Link copied to clipboard
public void setTargetLanguage(String targetLanguage)
设置翻译语言
setTranslatedText
Link copied to clipboard
public void setTranslatedText(String translatedText)
设置已翻译内容
toString
Link copied to clipboard
public String toString()
writeToParcel
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)