Platforms to show: All Mac Windows Linux Cross-Platform

TranslationRequestMBS class   New in 26.0

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Translation MBS Swift Plugin 26.0 ✅ Yes ❌ No ❌ No ✅ Yes All
A translation request containing a single item of text to translate.
Example
var r as new TranslationRequestMBS("Hello World")

Create a translation request to translate a string of text.
Initialize the request using ``init(sourceText:clientIdentifier:)``.
Set the `sourceText` to the string of text you want to translate.
Then pass that request in an array to one of the batch translation functions.

Keep track of the correspondence between the responses and requests by setting the clientIdentifier on the sent request, then matching it with the Response/clientIdentifier of the recieved response when the translation completes.

This class has no sub classes.

Release notes

  • Version 25.6
    • Added Translation classes: TranslationSessionMBS, TranslationResponseMBS and TranslationRequestMBS.

Some methods using this class:

Some related classes:


The items on this page are in the following plugins: MBS Swift Plugin.


TranscriptMBS   -   TranslationResponseMBS


The biggest plugin in space...