Platforms to show: All Mac Windows Linux Cross-Platform
TranslationResponseMBS class
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Translation | MBS Swift Plugin | 26.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You get a single response structure after you translate a string, or when you call one of the batch translation methods passing in an array of translation requests.
When the translation completes, a response instance returns with the translation result along with properties the framework used to perform the translation.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 5 properties
- property clientIdentifier as String
- property sourceLanguage as String
- property sourceText as String
- property targetLanguage as String
- property targetText as String
- method Constructor Private
This class has no sub classes.
Blog Entries
Release notes
- Version 26.0
- Added Translation classes: TranslationSessionMBS, TranslationResponseMBS and TranslationRequestMBS classes for macOS.
Some methods using this class:
- TranslationSessionMBS.translateString(text as String) as TranslationResponseMBS
- TranslationSessionMBS.translations(Requests() as TranslationRequestMBS) as TranslationResponseMBS()
Some examples using this class:
Some related classes:
The items on this page are in the following plugins: MBS Swift Plugin.
TranslationRequestMBS - TranslationSessionMBS