TranslateTextResult
public struct TranslateTextResult : ConvertResult
Results are mapped to TranslateTextResult when convert() API is called to translate a text into another language
-
Translated text
Declaration
Swift
public let text: String
-
Language to which the text was translated.
Declaration
Swift
public let targetLanguage: LanguageType
-
Declaration
Swift
public init(text: String, targetLanguage: LanguageType)