Result
public struct Result
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: Predictions.Language
-
Declaration
Swift
public init(text: String, targetLanguage: Predictions.Language)